#0E2456#0E2456

#0E2456 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.095 H 263.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#0E2456
RGBrgb(14, 36, 86)
HSLhsl(222, 72%, 20%)
HSVhsv(222, 84%, 34%)
CMYKcmyk(83.7%, 58.1%, 0%, 66.3%)
CIE-LABlab(15.63, 12.20, -32.79)
CIE-LCHlch(15.63, 34.99, 290.40°)
OKLaboklab(27.69% -0.0107 -0.0945)
OKLCHoklch(27.69% 0.095 263.5)
XYZxyz(2.4911, 2.0267, 9.0622)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2456 #56400E
analogous
#0E4856 #0E2456 #1C0E56
triadic
#0E2456 #560E24 #24560E
tetradic
#0E2456 #560E48 #56400E #0E561C
square
#0E2456 #560E48 #56400E #0E561C
split-complementary
#0E2456 #561C0E #48560E
monochromatic
#040B1A #050E21 #0E2456 #173A8B #1F50BF

Accessibility & contrast

On white

14.94
#0E2456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0E2456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2456
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2456#FFFFFF#000000##FFFFFF
##0E24561.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012A58
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0e2456;
/* rgb */ color: rgb(14, 36, 86);
/* oklch */ color: oklch(27.7% 0.095 263.5);
Tailwind
colors: {
  custom: {
    50: '#5a5e86',
    500: '#0e2456',
    950: '#000000',
  },
}
SCSS
$custom: #0e2456;
$custom-light: #5a5e86;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2456",
  "rgb": {
    "r": 14,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 221.667,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27695,
    "c": 0.09512,
    "h": 263.5
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#0E2456
secondary
#907330
accent
#B739EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2456

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

Preview Lab → · Contrast checker → · Palette generator →

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