#0E1F50#0E1F50

#0E1F50 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.093 H 265.7°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#0E1F50
RGBrgb(14, 31, 80)
HSLhsl(225, 70%, 18%)
HSVhsv(225, 83%, 31%)
CMYKcmyk(82.5%, 61.2%, 0%, 68.6%)
CIE-LABlab(13.55, 13.36, -32.11)
CIE-LCHlch(13.55, 34.78, 292.60°)
OKLaboklab(25.96% -0.007 -0.0926)
OKLCHoklch(25.96% 0.093 265.7)
XYZxyz(2.1185, 1.6523, 7.7951)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F50 #503F0E
analogous
#0E4050 #0E1F50 #1E0E50
triadic
#0E1F50 #500E1F #1F500E
tetradic
#0E1F50 #500E40 #503F0E #0E501E
square
#0E1F50 #500E40 #503F0E #0E501E
split-complementary
#0E1F50 #501E0E #40500E
monochromatic
#050A1A #050B1C #0E1F50 #173384 #2047B8

Accessibility & contrast

On white

15.78
#0E1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E1F50
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F50#FFFFFF#000000##FFFFFF
##0E1F501.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e1f50;
/* rgb */ color: rgb(14, 31, 80);
/* oklch */ color: oklch(26.0% 0.093 265.7);
Tailwind
colors: {
  custom: {
    50: '#585a82',
    500: '#0e1f50',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f50;
$custom-light: #585a82;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f50",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 224.545,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25959,
    "c": 0.09285,
    "h": 265.7
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#0E1F50
secondary
#8B732F
accent
#BF3BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0E1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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