#0E3172#0E3172

#0E3172 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.119 H 261.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#0E3172
RGBrgb(14, 49, 114)
HSLhsl(219, 78%, 25%)
HSVhsv(219, 88%, 45%)
CMYKcmyk(87.7%, 57%, 0%, 55.3%)
CIE-LABlab(21.96, 14.75, -40.89)
CIE-LCHlch(21.96, 43.47, 289.84°)
OKLaboklab(33.23% -0.0178 -0.118)
OKLCHoklch(33.23% 0.119 261.4)
XYZxyz(4.3156, 3.5044, 16.3653)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3172 #724F0E
analogous
#0E6372 #0E3172 #1D0E72
triadic
#0E3172 #720E31 #31720E
tetradic
#0E3172 #720E63 #724F0E #0E721D
square
#0E3172 #720E63 #724F0E #0E721D
split-complementary
#0E3172 #721D0E #63720E
monochromatic
#030C1B #071A3B #0E3172 #1548A9 #1B60DF

Accessibility & contrast

On white

12.35
#0E3172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0E3172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E3172
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3172#FFFFFF#000000##FFFFFF
##0E31721.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0e3172;
/* rgb */ color: rgb(14, 49, 114);
/* oklch */ color: oklch(33.2% 0.119 261.4);
Tailwind
colors: {
  custom: {
    50: '#61689b',
    500: '#0e3172',
    950: '#000000',
  },
}
SCSS
$custom: #0e3172;
$custom-light: #61689b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3172",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 219,
    "s": 78.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.11938,
    "h": 261.4
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#0E3172
secondary
#AA8032
accent
#B133F5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0E3172

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

Preview Lab → · Contrast checker → · Palette generator →

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