#0E0541#0E0541

#0E0541 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.104 H 277.5°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#0E0541
RGBrgb(14, 5, 65)
HSLhsl(249, 86%, 14%)
HSVhsv(249, 92%, 25%)
CMYKcmyk(78.5%, 92.3%, 0%, 74.5%)
CIE-LABlab(5.27, 24.40, -35.19)
CIE-LCHlch(5.27, 42.82, 304.74°)
OKLaboklab(19.18% 0.0136 -0.1036)
OKLCHoklch(19.18% 0.104 277.5)
XYZxyz(1.1892, 0.5834, 5.0499)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0541 #384105
analogous
#051A41 #0E0541 #2C0541
triadic
#0E0541 #410E05 #05410E
tetradic
#0E0541 #41051A #384105 #05412C
square
#0E0541 #41051A #384105 #05412C
split-complementary
#0E0541 #412C05 #1A4105
monochromatic
#06021C #06021C #0E0541 #1A097A #260EB3

Accessibility & contrast

On white

18.80
#0E0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0E0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0541
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0541#FFFFFF#000000##FFFFFF
##0E05411.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0e0541;
/* rgb */ color: rgb(14, 5, 65);
/* oklch */ color: oklch(19.2% 0.104 277.5);
Tailwind
colors: {
  custom: {
    50: '#564776',
    500: '#0e0541',
    950: '#000000',
  },
}
SCSS
$custom: #0e0541;
$custom-light: #564776;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0541",
  "rgb": {
    "r": 14,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 249,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19178,
    "c": 0.10446,
    "h": 277.5
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#0E0541
secondary
#738120
accent
#FC2CDD
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0E0541

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0E0541 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva