#0E2A54#0E2A54

#0E2A54 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.084 H 258.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#0E2A54
RGBrgb(14, 42, 84)
HSLhsl(216, 71%, 19%)
HSVhsv(216, 83%, 33%)
CMYKcmyk(83.3%, 50%, 0%, 67.1%)
CIE-LABlab(17.41, 6.82, -28.57)
CIE-LCHlch(17.41, 29.37, 283.42°)
OKLaboklab(29.01% -0.0165 -0.082)
OKLCHoklch(29.01% 0.084 258.6)
XYZxyz(2.6087, 2.3891, 8.7094)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A54 #54380E
analogous
#0E4D54 #0E2A54 #150E54
triadic
#0E2A54 #540E2A #2A540E
tetradic
#0E2A54 #540E4D #54380E #0E5415
square
#0E2A54 #540E4D #54380E #0E5415
split-complementary
#0E2A54 #54150E #4D540E
monochromatic
#040D1A #051020 #0E2A54 #174488 #1F5EBD

Accessibility & contrast

On white

14.21
#0E2A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0E2A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2A54
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A54#FFFFFF#000000##FFFFFF
##0E2A541.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E56
Deuteranopia (green-blind)
#042853
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e2a54;
/* rgb */ color: rgb(14, 42, 84);
/* oklch */ color: oklch(29.0% 0.084 258.6);
Tailwind
colors: {
  custom: {
    50: '#596384',
    500: '#0e2a54',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a54;
$custom-light: #596384;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a54",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29008,
    "c": 0.08361,
    "h": 258.6
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#0E2A54
secondary
#8E682F
accent
#A63AEE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2A54

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

Preview Lab → · Contrast checker → · Palette generator →

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