#0E0840#0E0840

#0E0840 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.6% C 0.099 H 276.9°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#0E0840
RGBrgb(14, 8, 64)
HSLhsl(246, 78%, 14%)
HSVhsv(246, 88%, 25%)
CMYKcmyk(78.1%, 87.5%, 0%, 74.9%)
CIE-LABlab(5.75, 22.43, -33.68)
CIE-LCHlch(5.75, 40.46, 303.66°)
OKLaboklab(19.57% 0.0119 -0.0986)
OKLCHoklch(19.57% 0.099 276.9)
XYZxyz(1.1930, 0.6371, 4.9096)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0840 #3A4008
analogous
#081E40 #0E0840 #2A0840
triadic
#0E0840 #400E08 #08400E
tetradic
#0E0840 #40081E #3A4008 #08402A
square
#0E0840 #40081E #3A4008 #08402A
split-complementary
#0E0840 #402A08 #1E4008
monochromatic
#06031B #06031B #0E0840 #1A0F76 #2616AD

Accessibility & contrast

On white

18.63
#0E0840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E0840
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0840#FFFFFF#000000##FFFFFF
##0E08401.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0e0840;
/* rgb */ color: rgb(14, 8, 64);
/* oklch */ color: oklch(19.6% 0.099 276.9);
Tailwind
colors: {
  custom: {
    50: '#554975',
    500: '#0e0840',
    950: '#000000',
  },
}
SCSS
$custom: #0e0840;
$custom-light: #554975;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0840",
  "rgb": {
    "r": 14,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 246.429,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19571,
    "c": 0.0993,
    "h": 276.9
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#0E0840
secondary
#757E25
accent
#F434E0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0E0840

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

Preview Lab → · Contrast checker → · Palette generator →

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