#0E213F#0E213F

#0E213F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.062 H 259.2°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#0E213F
RGBrgb(14, 33, 63)
HSLhsl(217, 64%, 15%)
HSVhsv(217, 78%, 25%)
CMYKcmyk(77.8%, 47.6%, 0%, 75.3%)
CIE-LABlab(12.86, 4.33, -21.45)
CIE-LCHlch(12.86, 21.88, 281.42°)
OKLaboklab(25.01% -0.0117 -0.0612)
OKLCHoklch(25.01% 0.062 259.2)
XYZxyz(1.6218, 1.5398, 4.9134)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E213F #3F2C0E
analogous
#0E393F #0E213F #140E3F
triadic
#0E213F #3F0E21 #213F0E
tetradic
#0E213F #3F0E39 #3F2C0E #0E3F14
square
#0E213F #3F0E39 #3F2C0E #0E3F14
split-complementary
#0E213F #3F140E #393F0E
monochromatic
#060D19 #060D19 #0E213F #193B71 #2455A3

Accessibility & contrast

On white

16.06
#0E213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E213F
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E213F#FFFFFF#000000##FFFFFF
##0E213F1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132440
Deuteranopia (green-blind)
#0B1F3E
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0e213f;
/* rgb */ color: rgb(14, 33, 63);
/* oklch */ color: oklch(25.0% 0.062 259.2);
Tailwind
colors: {
  custom: {
    50: '#535b74',
    500: '#0e213f',
    950: '#000000',
  },
}
SCSS
$custom: #0e213f;
$custom-light: #535b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0e213f",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 216.735,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25006,
    "c": 0.0623,
    "h": 259.2
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#0E213F
secondary
#7A5D2F
accent
#A641E7
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0E213F

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

Preview Lab → · Contrast checker → · Palette generator →

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