#0E2156#0E2156

#0E2156 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.099 H 265.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#0E2156
RGBrgb(14, 33, 86)
HSLhsl(224, 72%, 20%)
HSVhsv(224, 84%, 34%)
CMYKcmyk(83.7%, 61.6%, 0%, 66.3%)
CIE-LABlab(14.69, 14.47, -34.31)
CIE-LCHlch(14.69, 37.23, 292.87°)
OKLaboklab(26.99% -0.0082 -0.099)
OKLCHoklch(26.99% 0.099 265.2)
XYZxyz(2.4041, 1.8527, 9.0332)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2156 #56430E
analogous
#0E4556 #0E2156 #1F0E56
triadic
#0E2156 #560E21 #21560E
tetradic
#0E2156 #560E45 #56430E #0E561F
square
#0E2156 #560E45 #56430E #0E561F
split-complementary
#0E2156 #561F0E #45560E
monochromatic
#040A1A #050D21 #0E2156 #17358B #1F49BF

Accessibility & contrast

On white

15.32
#0E2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0E2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2156
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2156#FFFFFF#000000##FFFFFF
##0E21561.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e2156;
/* rgb */ color: rgb(14, 33, 86);
/* oklch */ color: oklch(27.0% 0.099 265.2);
Tailwind
colors: {
  custom: {
    50: '#5a5b86',
    500: '#0e2156',
    950: '#000000',
  },
}
SCSS
$custom: #0e2156;
$custom-light: #5a5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2156",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 224.167,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26991,
    "c": 0.09936,
    "h": 265.2
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#0E2156
secondary
#907730
accent
#BF39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2156

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

Preview Lab → · Contrast checker → · Palette generator →

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