#0E1246#0E1246

#0E1246 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.096 H 272.2°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#0E1246
RGBrgb(14, 18, 70)
HSLhsl(236, 67%, 16%)
HSVhsv(236, 80%, 27%)
CMYKcmyk(80%, 74.3%, 0%, 72.5%)
CIE-LABlab(8.72, 18.93, -33.06)
CIE-LCHlch(8.72, 38.10, 299.79°)
OKLaboklab(22.08% 0.0038 -0.0956)
OKLCHoklch(22.08% 0.096 272.2)
XYZxyz(1.5025, 0.9680, 5.9008)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1246 #46420E
analogous
#0E2E46 #0E1246 #260E46
triadic
#0E1246 #460E12 #12460E
tetradic
#0E1246 #460E2E #46420E #0E4626
square
#0E1246 #460E2E #46420E #0E4626
split-complementary
#0E1246 #46260E #2E460E
monochromatic
#05071A #05071A #0E1246 #181F79 #222CAC

Accessibility & contrast

On white

17.59
#0E1246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0E1246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1246
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1246#FFFFFF#000000##FFFFFF
##0E12461.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e1246;
/* rgb */ color: rgb(14, 18, 70);
/* oklch */ color: oklch(22.1% 0.096 272.2);
Tailwind
colors: {
  custom: {
    50: '#574f7a',
    500: '#0e1246',
    950: '#000000',
  },
}
SCSS
$custom: #0e1246;
$custom-light: #574f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1246",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 235.714,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22083,
    "c": 0.09563,
    "h": 272.2
  },
  "luminance": 0.00968
}

Semantic roles & 50–950 ramp

primary
#0E1246
secondary
#817B2F
accent
#DD3EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0E1246

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

Preview Lab → · Contrast checker → · Palette generator →

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