#0E2154#0E2154

#0E2154 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.096 H 265.0°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#0E2154
RGBrgb(14, 33, 84)
HSLhsl(224, 71%, 19%)
HSVhsv(224, 83%, 33%)
CMYKcmyk(83.3%, 60.7%, 0%, 67.1%)
CIE-LABlab(14.52, 13.59, -33.24)
CIE-LCHlch(14.52, 35.91, 292.24°)
OKLaboklab(26.8% -0.0084 -0.0959)
OKLCHoklch(26.8% 0.096 265)
XYZxyz(2.3246, 1.8209, 8.6147)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2154 #54410E
analogous
#0E4454 #0E2154 #1E0E54
triadic
#0E2154 #540E21 #21540E
tetradic
#0E2154 #540E44 #54410E #0E541E
square
#0E2154 #540E44 #54410E #0E541E
split-complementary
#0E2154 #541E0E #44540E
monochromatic
#040A1A #050C20 #0E2154 #173688 #1F4ABD

Accessibility & contrast

On white

15.39
#0E2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0E2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2154
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2154#FFFFFF#000000##FFFFFF
##0E21541.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#002253
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e2154;
/* rgb */ color: rgb(14, 33, 84);
/* oklch */ color: oklch(26.8% 0.096 265.0);
Tailwind
colors: {
  custom: {
    50: '#595b85',
    500: '#0e2154',
    950: '#000000',
  },
}
SCSS
$custom: #0e2154;
$custom-light: #595b85;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2154",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 223.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26802,
    "c": 0.09627,
    "h": 265
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#0E2154
secondary
#8E752F
accent
#BD3AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2154

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

Preview Lab → · Contrast checker → · Palette generator →

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