#0E1F4B#0E1F4B

#0E1F4B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.085 H 265.0°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#0E1F4B
RGBrgb(14, 31, 75)
HSLhsl(223, 69%, 17%)
HSVhsv(223, 81%, 29%)
CMYKcmyk(81.3%, 58.7%, 0%, 70.6%)
CIE-LABlab(13.11, 11.16, -29.38)
CIE-LCHlch(13.11, 31.43, 290.81°)
OKLaboklab(25.5% -0.0074 -0.0846)
OKLCHoklch(25.5% 0.085 265)
XYZxyz(1.9406, 1.5811, 6.8582)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F4B #4B3A0E
analogous
#0E3D4B #0E1F4B #1C0E4B
triadic
#0E1F4B #4B0E1F #1F4B0E
tetradic
#0E1F4B #4B0E3D #4B3A0E #0E4B1C
square
#0E1F4B #4B0E3D #4B3A0E #0E4B1C
split-complementary
#0E1F4B #4B1C0E #3D4B0E
monochromatic
#050B1A #050B1A #0E1F4B #18347F #214AB2

Accessibility & contrast

On white

15.96
#0E1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0E1F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1F4B
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F4B#FFFFFF#000000##FFFFFF
##0E1F4B1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254D
Deuteranopia (green-blind)
#001F4A
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e1f4b;
/* rgb */ color: rgb(14, 31, 75);
/* oklch */ color: oklch(25.5% 0.085 265.0);
Tailwind
colors: {
  custom: {
    50: '#575a7e',
    500: '#0e1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f4b;
$custom-light: #575a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f4b",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 223.279,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25498,
    "c": 0.08489,
    "h": 265
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#0E1F4B
secondary
#866E2F
accent
#BB3CEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0E1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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