#0E2558#0E2558

#0E2558 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.097 H 263.3°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#0E2558
RGBrgb(14, 37, 88)
HSLhsl(221, 73%, 20%)
HSVhsv(221, 84%, 35%)
CMYKcmyk(84.1%, 58%, 0%, 65.5%)
CIE-LABlab(16.11, 12.32, -33.35)
CIE-LCHlch(16.11, 35.56, 290.28°)
OKLaboklab(28.11% -0.0114 -0.0961)
OKLCHoklch(28.11% 0.097 263.3)
XYZxyz(2.6035, 2.1208, 9.5028)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2558 #58410E
analogous
#0E4A58 #0E2558 #1C0E58
triadic
#0E2558 #580E25 #25580E
tetradic
#0E2558 #580E4A #58410E #0E581C
square
#0E2558 #580E4A #58410E #0E581C
split-complementary
#0E2558 #581C0E #4A580E
monochromatic
#040B1A #060F23 #0E2558 #163B8D #1F51C2

Accessibility & contrast

On white

14.75
#0E2558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0E2558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2558
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2558#FFFFFF#000000##FFFFFF
##0E25581.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e2558;
/* rgb */ color: rgb(14, 37, 88);
/* oklch */ color: oklch(28.1% 0.097 263.3);
Tailwind
colors: {
  custom: {
    50: '#5a5f88',
    500: '#0e2558',
    950: '#000000',
  },
}
SCSS
$custom: #0e2558;
$custom-light: #5a5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2558",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 221.351,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.28113,
    "c": 0.09681,
    "h": 263.3
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#0E2558
secondary
#927430
accent
#B639EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2558

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

Preview Lab → · Contrast checker → · Palette generator →

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