#0E1F4F#0E1F4F

#0E1F4F is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.091 H 265.6°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0E1F4F
RGBrgb(14, 31, 79)
HSLhsl(224, 70%, 18%)
HSVhsv(224, 82%, 31%)
CMYKcmyk(82.3%, 60.8%, 0%, 69%)
CIE-LABlab(13.46, 12.93, -31.57)
CIE-LCHlch(13.46, 34.11, 292.27°)
OKLaboklab(25.87% -0.0071 -0.091)
OKLCHoklch(25.87% 0.091 265.6)
XYZxyz(2.0819, 1.6376, 7.6020)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F4F #4F3E0E
analogous
#0E3F4F #0E1F4F #1D0E4F
triadic
#0E1F4F #4F0E1F #1F4F0E
tetradic
#0E1F4F #4F0E3F #4F3E0E #0E4F1D
square
#0E1F4F #4F0E3F #4F3E0E #0E4F1D
split-complementary
#0E1F4F #4F1D0E #3F4F0E
monochromatic
#050A1A #050B1B #0E1F4F #173383 #2048B7

Accessibility & contrast

On white

15.82
#0E1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0E1F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1F4F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F4F#FFFFFF#000000##FFFFFF
##0E1F4F1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e1f4f;
/* rgb */ color: rgb(14, 31, 79);
/* oklch */ color: oklch(25.9% 0.091 265.6);
Tailwind
colors: {
  custom: {
    50: '#585a81',
    500: '#0e1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f4f;
$custom-light: #585a81;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f4f",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 224.308,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25866,
    "c": 0.09127,
    "h": 265.6
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#0E1F4F
secondary
#8A722F
accent
#BE3BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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