#0E2857#0E2857

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

Color values

HEX#0E2857
RGBrgb(14, 40, 87)
HSLhsl(219, 72%, 20%)
HSVhsv(219, 84%, 34%)
CMYKcmyk(83.9%, 54%, 0%, 65.9%)
CIE-LABlab(16.98, 9.63, -31.27)
CIE-LCHlch(16.98, 32.72, 287.11°)
OKLaboklab(28.75% -0.0141 -0.0899)
OKLCHoklch(28.75% 0.091 261.1)
XYZxyz(2.6596, 2.2988, 9.3185)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2857 #573D0E
analogous
#0E4D57 #0E2857 #190E57
triadic
#0E2857 #570E28 #28570E
tetradic
#0E2857 #570E4D #573D0E #0E5719
square
#0E2857 #570E4D #573D0E #0E5719
split-complementary
#0E2857 #57190E #4D570E
monochromatic
#040C1A #061022 #0E2857 #16408C #1F58C0

Accessibility & contrast

On white

14.39
#0E2857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2857
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2857#FFFFFF#000000##FFFFFF
##0E28571.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2D59
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2857;
/* rgb */ color: rgb(14, 40, 87);
/* oklch */ color: oklch(28.8% 0.091 261.1);
Tailwind
colors: {
  custom: {
    50: '#5a6187',
    500: '#0e2857',
    950: '#000000',
  },
}
SCSS
$custom: #0e2857;
$custom-light: #5a6187;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2857",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 218.63,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28753,
    "c": 0.09104,
    "h": 261.1
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#0E2857
secondary
#916E30
accent
#AE39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2857

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

Preview Lab → · Contrast checker → · Palette generator →

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