#0E2054#0E2054

#0E2054 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.098 H 265.6°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#0E2054
RGBrgb(14, 32, 84)
HSLhsl(225, 71%, 19%)
HSVhsv(225, 83%, 33%)
CMYKcmyk(83.3%, 61.9%, 0%, 67.1%)
CIE-LABlab(14.21, 14.35, -33.74)
CIE-LCHlch(14.21, 36.67, 293.04°)
OKLaboklab(26.57% -0.0076 -0.0974)
OKLCHoklch(26.57% 0.098 265.6)
XYZxyz(2.2973, 1.7662, 8.6056)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2054 #54420E
analogous
#0E4354 #0E2054 #1F0E54
triadic
#0E2054 #540E20 #20540E
tetradic
#0E2054 #540E43 #54420E #0E541F
square
#0E2054 #540E43 #54420E #0E541F
split-complementary
#0E2054 #541F0E #43540E
monochromatic
#040A1A #050C20 #0E2054 #173488 #1F48BD

Accessibility & contrast

On white

15.52
#0E2054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0E2054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2054
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2054#FFFFFF#000000##FFFFFF
##0E20541.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0e2054;
/* rgb */ color: rgb(14, 32, 84);
/* oklch */ color: oklch(26.6% 0.098 265.6);
Tailwind
colors: {
  custom: {
    50: '#595b85',
    500: '#0e2054',
    950: '#000000',
  },
}
SCSS
$custom: #0e2054;
$custom-light: #595b85;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2054",
  "rgb": {
    "r": 14,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 224.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2657,
    "c": 0.09768,
    "h": 265.6
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#0E2054
secondary
#8E762F
accent
#C03AEE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2054

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

Preview Lab → · Contrast checker → · Palette generator →

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