#0E0841#0E0841

#0E0841 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.7% C 0.101 H 276.6°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#0E0841
RGBrgb(14, 8, 65)
HSLhsl(246, 78%, 14%)
HSVhsv(246, 88%, 25%)
CMYKcmyk(78.5%, 87.7%, 0%, 74.5%)
CIE-LABlab(5.86, 22.91, -34.22)
CIE-LCHlch(5.86, 41.18, 303.80°)
OKLaboklab(19.7% 0.0116 -0.1)
OKLCHoklch(19.7% 0.101 276.6)
XYZxyz(1.2218, 0.6486, 5.0608)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0841 #3B4108
analogous
#081F41 #0E0841 #2B0841
triadic
#0E0841 #410E08 #08410E
tetradic
#0E0841 #41081F #3B4108 #08412B
square
#0E0841 #41081F #3B4108 #08412B
split-complementary
#0E0841 #412B08 #1F4108
monochromatic
#06031B #06031B #0E0841 #1A0F77 #2515AE

Accessibility & contrast

On white

18.59
#0E0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0E0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0841
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0841#FFFFFF#000000##FFFFFF
##0E08411.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001040
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0e0841;
/* rgb */ color: rgb(14, 8, 65);
/* oklch */ color: oklch(19.7% 0.101 276.6);
Tailwind
colors: {
  custom: {
    50: '#564976',
    500: '#0e0841',
    950: '#000000',
  },
}
SCSS
$custom: #0e0841;
$custom-light: #564976;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0841",
  "rgb": {
    "r": 14,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 246.316,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19699,
    "c": 0.10071,
    "h": 276.6
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#0E0841
secondary
#767F25
accent
#F533E0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0E0841

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

Preview Lab → · Contrast checker → · Palette generator →

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