#0E1840#0E1840

#0E1840 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.077 H 268.9°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#0E1840
RGBrgb(14, 24, 64)
HSLhsl(228, 64%, 15%)
HSVhsv(228, 78%, 25%)
CMYKcmyk(78.1%, 62.5%, 0%, 74.9%)
CIE-LABlab(9.93, 11.76, -26.87)
CIE-LCHlch(9.93, 29.33, 293.63°)
OKLaboklab(22.79% -0.0015 -0.0773)
OKLCHoklch(22.79% 0.077 268.9)
XYZxyz(1.4328, 1.1167, 4.9895)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1840 #40360E
analogous
#0E3140 #0E1840 #1D0E40
triadic
#0E1840 #400E18 #18400E
tetradic
#0E1840 #400E31 #40360E #0E401D
square
#0E1840 #400E31 #40360E #0E401D
split-complementary
#0E1840 #401D0E #31400E
monochromatic
#050919 #050919 #0E1840 #192B72 #243EA4

Accessibility & contrast

On white

17.17
#0E1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0E1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1840
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1840#FFFFFF#000000##FFFFFF
##0E18401.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e1840;
/* rgb */ color: rgb(14, 24, 64);
/* oklch */ color: oklch(22.8% 0.077 268.9);
Tailwind
colors: {
  custom: {
    50: '#545475',
    500: '#0e1840',
    950: '#000000',
  },
}
SCSS
$custom: #0e1840;
$custom-light: #545475;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1840",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 228,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22793,
    "c": 0.07732,
    "h": 268.9
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#0E1840
secondary
#7B6C2F
accent
#C641E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E1840

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

Preview Lab → · Contrast checker → · Palette generator →

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