#0E2858#0E2858

#0E2858 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.093 H 261.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#0E2858
RGBrgb(14, 40, 88)
HSLhsl(219, 73%, 20%)
HSVhsv(219, 84%, 35%)
CMYKcmyk(84.1%, 54.5%, 0%, 65.5%)
CIE-LABlab(17.06, 10.07, -31.81)
CIE-LCHlch(17.06, 33.37, 287.56°)
OKLaboklab(28.84% -0.0139 -0.0915)
OKLCHoklch(28.84% 0.093 261.3)
XYZxyz(2.7007, 2.3152, 9.5352)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2858 #583E0E
analogous
#0E4D58 #0E2858 #190E58
triadic
#0E2858 #580E28 #28580E
tetradic
#0E2858 #580E4D #583E0E #0E5819
square
#0E2858 #580E4D #583E0E #0E5819
split-complementary
#0E2858 #58190E #4D580E
monochromatic
#040C1A #061023 #0E2858 #16408D #1F58C2

Accessibility & contrast

On white

14.35
#0E2858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0E2858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2858
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2858#FFFFFF#000000##FFFFFF
##0E28581.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2E5A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2858;
/* rgb */ color: rgb(14, 40, 88);
/* oklch */ color: oklch(28.8% 0.093 261.3);
Tailwind
colors: {
  custom: {
    50: '#5a6187',
    500: '#0e2858',
    950: '#000000',
  },
}
SCSS
$custom: #0e2858;
$custom-light: #5a6187;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2858",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 218.919,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.28838,
    "c": 0.0926,
    "h": 261.3
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#0E2858
secondary
#927030
accent
#AF39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2858

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

Preview Lab → · Contrast checker → · Palette generator →

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