#0E3370#0E3370

#0E3370 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.114 H 260.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#0E3370
RGBrgb(14, 51, 112)
HSLhsl(217, 78%, 25%)
HSVhsv(217, 88%, 44%)
CMYKcmyk(87.5%, 54.5%, 0%, 56.1%)
CIE-LABlab(22.41, 12.44, -38.88)
CIE-LCHlch(22.41, 40.82, 287.75°)
OKLaboklab(33.52% -0.0195 -0.1121)
OKLCHoklch(33.52% 0.114 260.1)
XYZxyz(4.2885, 3.6303, 15.8008)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3370 #704B0E
analogous
#0E6470 #0E3370 #1A0E70
triadic
#0E3370 #700E33 #33700E
tetradic
#0E3370 #700E64 #704B0E #0E701A
square
#0E3370 #700E64 #704B0E #0E701A
split-complementary
#0E3370 #701A0E #64700E
monochromatic
#030C1B #071A3A #0E3370 #154CA6 #1C65DD

Accessibility & contrast

On white

12.17
#0E3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E3370
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3370#FFFFFF#000000##FFFFFF
##0E33701.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A72
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0e3370;
/* rgb */ color: rgb(14, 51, 112);
/* oklch */ color: oklch(33.5% 0.114 260.1);
Tailwind
colors: {
  custom: {
    50: '#606a9a',
    500: '#0e3370',
    950: '#000000',
  },
}
SCSS
$custom: #0e3370;
$custom-light: #606a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3370",
  "rgb": {
    "r": 14,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 217.347,
    "s": 77.778,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33523,
    "c": 0.11377,
    "h": 260.1
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#0E3370
secondary
#A87B32
accent
#AC34F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0E3370

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

Preview Lab → · Contrast checker → · Palette generator →

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