#0E2147#0E2147

#0E2147 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.075 H 262.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0E2147
RGBrgb(14, 33, 71)
HSLhsl(220, 67%, 17%)
HSVhsv(220, 80%, 28%)
CMYKcmyk(80.3%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.45, 7.86, -26.08)
CIE-LCHlch(13.45, 27.24, 286.77°)
OKLaboklab(25.65% -0.01 -0.0748)
OKLCHoklch(25.65% 0.075 262.4)
XYZxyz(1.8619, 1.6358, 6.1776)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2147 #47340E
analogous
#0E3E47 #0E2147 #180E47
triadic
#0E2147 #470E21 #21470E
tetradic
#0E2147 #470E3E #47340E #0E4718
square
#0E2147 #470E3E #47340E #0E4718
split-complementary
#0E2147 #47180E #3E470E
monochromatic
#050C1A #050C1A #0E2147 #18397A #2251AD

Accessibility & contrast

On white

15.82
#0E2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0E2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2147
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2147#FFFFFF#000000##FFFFFF
##0E21471.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#012046
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e2147;
/* rgb */ color: rgb(14, 33, 71);
/* oklch */ color: oklch(25.6% 0.075 262.4);
Tailwind
colors: {
  custom: {
    50: '#555b7a',
    500: '#0e2147',
    950: '#000000',
  },
}
SCSS
$custom: #0e2147;
$custom-light: #555b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2147",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 220,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25649,
    "c": 0.07549,
    "h": 262.4
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#0E2147
secondary
#82662F
accent
#B13EEA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0E2147

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

Preview Lab → · Contrast checker → · Palette generator →

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