#0E0742#0E0742

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

Color values

HEX#0E0742
RGBrgb(14, 7, 66)
HSLhsl(247, 81%, 14%)
HSVhsv(247, 89%, 26%)
CMYKcmyk(78.8%, 89.4%, 0%, 74.1%)
CIE-LABlab(5.77, 23.88, -35.08)
CIE-LCHlch(5.77, 42.44, 304.24°)
OKLaboklab(19.66% 0.012 -0.1026)
OKLCHoklch(19.66% 0.103 276.6)
XYZxyz(1.2401, 0.6386, 5.2111)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0742 #3B4207
analogous
#071E42 #0E0742 #2C0742
triadic
#0E0742 #420E07 #07420E
tetradic
#0E0742 #42071E #3B4207 #07422C
square
#0E0742 #42071E #3B4207 #07422C
split-complementary
#0E0742 #422C07 #1E4207
monochromatic
#06031C #06031C #0E0742 #1A0D79 #2513B1

Accessibility & contrast

On white

18.62
#0E0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E0742
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0742#FFFFFF#000000##FFFFFF
##0E07421.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e0742;
/* rgb */ color: rgb(14, 7, 66);
/* oklch */ color: oklch(19.7% 0.103 276.6);
Tailwind
colors: {
  custom: {
    50: '#564977',
    500: '#0e0742',
    950: '#000000',
  },
}
SCSS
$custom: #0e0742;
$custom-light: #564977;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0742",
  "rgb": {
    "r": 14,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 247.119,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19659,
    "c": 0.10332,
    "h": 276.6
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#0E0742
secondary
#768124
accent
#F731E0
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0E0742

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

Preview Lab → · Contrast checker → · Palette generator →

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