#0E3371#0E3371

#0E3371 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.115 H 260.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#0E3371
RGBrgb(14, 51, 113)
HSLhsl(218, 78%, 25%)
HSVhsv(218, 88%, 44%)
CMYKcmyk(87.6%, 54.9%, 0%, 55.7%)
CIE-LABlab(22.49, 12.88, -39.39)
CIE-LCHlch(22.49, 41.44, 288.10°)
OKLaboklab(33.61% -0.0194 -0.1136)
OKLCHoklch(33.61% 0.115 260.3)
XYZxyz(4.3445, 3.6527, 16.0957)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3371 #714C0E
analogous
#0E6471 #0E3371 #1B0E71
triadic
#0E3371 #710E33 #33710E
tetradic
#0E3371 #710E64 #714C0E #0E711B
square
#0E3371 #710E64 #714C0E #0E711B
split-complementary
#0E3371 #711B0E #64710E
monochromatic
#030C1B #071A3B #0E3371 #154CA7 #1B64DE

Accessibility & contrast

On white

12.13
#0E3371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0E3371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E3371
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3371#FFFFFF#000000##FFFFFF
##0E33711.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063A73
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0e3371;
/* rgb */ color: rgb(14, 51, 113);
/* oklch */ color: oklch(33.6% 0.115 260.3);
Tailwind
colors: {
  custom: {
    50: '#606a9a',
    500: '#0e3371',
    950: '#000000',
  },
}
SCSS
$custom: #0e3371;
$custom-light: #606a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3371",
  "rgb": {
    "r": 14,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 217.576,
    "s": 77.953,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33608,
    "c": 0.11523,
    "h": 260.3
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#0E3371
secondary
#A97C32
accent
#AC33F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0E3371

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

Preview Lab → · Contrast checker → · Palette generator →

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