#0E1F5D#0E1F5D

#0E1F5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.113 H 266.6°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#0E1F5D
RGBrgb(14, 31, 93)
HSLhsl(227, 74%, 21%)
HSVhsv(227, 85%, 36%)
CMYKcmyk(84.9%, 66.7%, 0%, 63.5%)
CIE-LABlab(14.75, 18.99, -38.91)
CIE-LCHlch(14.75, 43.29, 296.01°)
OKLaboklab(27.24% -0.0066 -0.1125)
OKLCHoklch(27.24% 0.113 266.6)
XYZxyz(2.6462, 1.8633, 10.5740)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F5D #5D4C0E
analogous
#0E465D #0E1F5D #240E5D
triadic
#0E1F5D #5D0E1F #1F5D0E
tetradic
#0E1F5D #5D0E46 #5D4C0E #0E5D24
square
#0E1F5D #5D0E46 #5D4C0E #0E5D24
split-complementary
#0E1F5D #5D240E #465D0E
monochromatic
#04091B #060D28 #0E1F5D #163192 #1E42C7

Accessibility & contrast

On white

15.30
#0E1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0E1F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1F5D
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F5D#FFFFFF#000000##FFFFFF
##0E1F5D1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e1f5d;
/* rgb */ color: rgb(14, 31, 93);
/* oklch */ color: oklch(27.2% 0.113 266.6);
Tailwind
colors: {
  custom: {
    50: '#5c5a8c',
    500: '#0e1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f5d;
$custom-light: #5c5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f5d",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 227.089,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27238,
    "c": 0.11274,
    "h": 266.6
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#0E1F5D
secondary
#978130
accent
#C937F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0E1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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