#0E2457#0E2457

#0E2457 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.097 H 263.7°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#0E2457
RGBrgb(14, 36, 87)
HSLhsl(222, 72%, 20%)
HSVhsv(222, 84%, 34%)
CMYKcmyk(83.9%, 58.6%, 0%, 65.9%)
CIE-LABlab(15.71, 12.64, -33.33)
CIE-LCHlch(15.71, 35.64, 290.77°)
OKLaboklab(27.79% -0.0106 -0.0961)
OKLCHoklch(27.79% 0.097 263.7)
XYZxyz(2.5317, 2.0429, 9.2759)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2457 #57410E
analogous
#0E4857 #0E2457 #1D0E57
triadic
#0E2457 #570E24 #24570E
tetradic
#0E2457 #570E48 #57410E #0E571D
square
#0E2457 #570E48 #57410E #0E571D
split-complementary
#0E2457 #571D0E #48570E
monochromatic
#040B1A #060E22 #0E2457 #163A8C #1F50C0

Accessibility & contrast

On white

14.91
#0E2457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2457
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2457#FFFFFF#000000##FFFFFF
##0E24571.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0e2457;
/* rgb */ color: rgb(14, 36, 87);
/* oklch */ color: oklch(27.8% 0.097 263.7);
Tailwind
colors: {
  custom: {
    50: '#5a5e87',
    500: '#0e2457',
    950: '#000000',
  },
}
SCSS
$custom: #0e2457;
$custom-light: #5a5e87;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2457",
  "rgb": {
    "r": 14,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 221.918,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27785,
    "c": 0.09668,
    "h": 263.7
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#0E2457
secondary
#917430
accent
#B839EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2457

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

Preview Lab → · Contrast checker → · Palette generator →

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