#0E1F4A#0E1F4A

#0E1F4A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.083 H 264.8°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#0E1F4A
RGBrgb(14, 31, 74)
HSLhsl(223, 68%, 17%)
HSVhsv(223, 81%, 29%)
CMYKcmyk(81.1%, 58.1%, 0%, 71%)
CIE-LABlab(13.03, 10.72, -28.82)
CIE-LCHlch(13.03, 30.75, 290.41°)
OKLaboklab(25.41% -0.0075 -0.0829)
OKLCHoklch(25.41% 0.083 264.8)
XYZxyz(1.9067, 1.5675, 6.6793)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F4A #4A390E
analogous
#0E3D4A #0E1F4A #1B0E4A
triadic
#0E1F4A #4A0E1F #1F4A0E
tetradic
#0E1F4A #4A0E3D #4A390E #0E4A1B
square
#0E1F4A #4A0E3D #4A390E #0E4A1B
split-complementary
#0E1F4A #4A1B0E #3D4A0E
monochromatic
#050B1A #050B1A #0E1F4A #18357D #214AB1

Accessibility & contrast

On white

15.99
#0E1F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0E1F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1F4A
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F4A#FFFFFF#000000##FFFFFF
##0E1F4A1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e1f4a;
/* rgb */ color: rgb(14, 31, 74);
/* oklch */ color: oklch(25.4% 0.083 264.8);
Tailwind
colors: {
  custom: {
    50: '#565a7d',
    500: '#0e1f4a',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f4a;
$custom-light: #565a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f4a",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 223,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25409,
    "c": 0.08328,
    "h": 264.8
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#0E1F4A
secondary
#856C2F
accent
#BA3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0E1F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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