#0E1842#0E1842

#0E1842 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.081 H 269.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#0E1842
RGBrgb(14, 24, 66)
HSLhsl(228, 65%, 16%)
HSVhsv(228, 79%, 26%)
CMYKcmyk(78.8%, 63.6%, 0%, 74.1%)
CIE-LABlab(10.11, 12.64, -27.99)
CIE-LCHlch(10.11, 30.71, 294.30°)
OKLaboklab(22.98% -0.0014 -0.0806)
OKLCHoklch(22.98% 0.081 269)
XYZxyz(1.4908, 1.1398, 5.2946)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1842 #42380E
analogous
#0E3242 #0E1842 #1E0E42
triadic
#0E1842 #420E18 #18420E
tetradic
#0E1842 #420E32 #42380E #0E421E
square
#0E1842 #420E32 #42380E #0E421E
split-complementary
#0E1842 #421E0E #32420E
monochromatic
#050919 #050919 #0E1842 #192A74 #233DA7

Accessibility & contrast

On white

17.10
#0E1842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0E1842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1842
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1842#FFFFFF#000000##FFFFFF
##0E18421.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#00222A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0e1842;
/* rgb */ color: rgb(14, 24, 66);
/* oklch */ color: oklch(23.0% 0.081 269.0);
Tailwind
colors: {
  custom: {
    50: '#555477',
    500: '#0e1842',
    950: '#000000',
  },
}
SCSS
$custom: #0e1842;
$custom-light: #555477;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1842",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 228.462,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22983,
    "c": 0.08062,
    "h": 269
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#0E1842
secondary
#7D6E2F
accent
#C840E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E1842

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

Preview Lab → · Contrast checker → · Palette generator →

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