#0E2559#0E2559

#0E2559 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.098 H 263.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#0E2559
RGBrgb(14, 37, 89)
HSLhsl(222, 73%, 20%)
HSVhsv(222, 84%, 35%)
CMYKcmyk(84.3%, 58.4%, 0%, 65.1%)
CIE-LABlab(16.19, 12.76, -33.89)
CIE-LCHlch(16.19, 36.21, 290.63°)
OKLaboklab(28.2% -0.0113 -0.0977)
OKLCHoklch(28.2% 0.098 263.4)
XYZxyz(2.6452, 2.1375, 9.7224)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2559 #59420E
analogous
#0E4A59 #0E2559 #1C0E59
triadic
#0E2559 #590E25 #25590E
tetradic
#0E2559 #590E4A #59420E #0E591C
square
#0E2559 #590E4A #59420E #0E591C
split-complementary
#0E2559 #591C0E #4A590E
monochromatic
#040B1A #060F24 #0E2559 #163B8E #1F51C3

Accessibility & contrast

On white

14.71
#0E2559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0E2559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2559
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2559#FFFFFF#000000##FFFFFF
##0E25591.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e2559;
/* rgb */ color: rgb(14, 37, 89);
/* oklch */ color: oklch(28.2% 0.098 263.4);
Tailwind
colors: {
  custom: {
    50: '#5a5f88',
    500: '#0e2559',
    950: '#000000',
  },
}
SCSS
$custom: #0e2559;
$custom-light: #5a5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2559",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 221.6,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28203,
    "c": 0.09836,
    "h": 263.4
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#0E2559
secondary
#937530
accent
#B738F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2559

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

Preview Lab → · Contrast checker → · Palette generator →

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