#0E2148#0E2148

#0E2148 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.077 H 262.7°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#0E2148
RGBrgb(14, 33, 72)
HSLhsl(220, 67%, 17%)
HSVhsv(220, 81%, 28%)
CMYKcmyk(80.6%, 54.2%, 0%, 71.8%)
CIE-LABlab(13.52, 8.30, -26.65)
CIE-LCHlch(13.52, 27.91, 287.30°)
OKLaboklab(25.73% -0.0098 -0.0765)
OKLCHoklch(25.73% 0.077 262.7)
XYZxyz(1.8942, 1.6488, 6.3480)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2148 #48350E
analogous
#0E3E48 #0E2148 #180E48
triadic
#0E2148 #480E21 #21480E
tetradic
#0E2148 #480E3E #48350E #0E4818
square
#0E2148 #480E3E #48350E #0E4818
split-complementary
#0E2148 #48180E #3E480E
monochromatic
#050C1A #050C1A #0E2148 #18387B #2250AE

Accessibility & contrast

On white

15.79
#0E2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2148
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2148#FFFFFF#000000##FFFFFF
##0E21481.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2549
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e2148;
/* rgb */ color: rgb(14, 33, 72);
/* oklch */ color: oklch(25.7% 0.077 262.7);
Tailwind
colors: {
  custom: {
    50: '#565b7b',
    500: '#0e2148',
    950: '#000000',
  },
}
SCSS
$custom: #0e2148;
$custom-light: #565b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2148",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 220.345,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25733,
    "c": 0.07712,
    "h": 262.7
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#0E2148
secondary
#83672F
accent
#B23DEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0E2148

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

Preview Lab → · Contrast checker → · Palette generator →

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