#0E2F71#0E2F71

#0E2F71 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.121 H 262.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#0E2F71
RGBrgb(14, 47, 113)
HSLhsl(220, 78%, 25%)
HSVhsv(220, 88%, 44%)
CMYKcmyk(87.6%, 58.4%, 0%, 55.7%)
CIE-LABlab(21.28, 15.78, -41.36)
CIE-LCHlch(21.28, 44.27, 290.88°)
OKLaboklab(32.69% -0.0165 -0.1195)
OKLCHoklch(32.69% 0.121 262.1)
XYZxyz(4.1772, 3.3181, 16.0399)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2F71 #71500E
analogous
#0E6171 #0E2F71 #1E0E71
triadic
#0E2F71 #710E2F #2F710E
tetradic
#0E2F71 #710E61 #71500E #0E711E
square
#0E2F71 #710E61 #71500E #0E711E
split-complementary
#0E2F71 #711E0E #61710E
monochromatic
#030B1B #07183B #0E2F71 #1546A7 #1B5CDE

Accessibility & contrast

On white

12.62
#0E2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0E2F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2F71
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2F71#FFFFFF#000000##FFFFFF
##0E2F711.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0e2f71;
/* rgb */ color: rgb(14, 47, 113);
/* oklch */ color: oklch(32.7% 0.121 262.1);
Tailwind
colors: {
  custom: {
    50: '#61669a',
    500: '#0e2f71',
    950: '#000000',
  },
}
SCSS
$custom: #0e2f71;
$custom-light: #61669a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2f71",
  "rgb": {
    "r": 14,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 220,
    "s": 77.953,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32687,
    "c": 0.12061,
    "h": 262.1
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#0E2F71
secondary
#A98132
accent
#B433F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0E2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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