#0E2951#0E2951

#0E2951 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.080 H 258.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0E2951
RGBrgb(14, 41, 81)
HSLhsl(216, 71%, 19%)
HSVhsv(216, 83%, 32%)
CMYKcmyk(82.7%, 49.4%, 0%, 68.2%)
CIE-LABlab(16.86, 6.24, -27.43)
CIE-LCHlch(16.86, 28.13, 282.81°)
OKLaboklab(28.51% -0.0161 -0.0786)
OKLCHoklch(28.51% 0.08 258.4)
XYZxyz(2.4587, 2.2730, 8.0921)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2951 #51360E
analogous
#0E4A51 #0E2951 #140E51
triadic
#0E2951 #510E29 #29510E
tetradic
#0E2951 #510E4A #51360E #0E5114
square
#0E2951 #510E4A #51360E #0E5114
split-complementary
#0E2951 #51140E #4A510E
monochromatic
#050D1A #050F1D #0E2951 #174385 #205EB9

Accessibility & contrast

On white

14.44
#0E2951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0E2951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2951
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2951#FFFFFF#000000##FFFFFF
##0E29511.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D53
Deuteranopia (green-blind)
#062750
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2951;
/* rgb */ color: rgb(14, 41, 81);
/* oklch */ color: oklch(28.5% 0.080 258.4);
Tailwind
colors: {
  custom: {
    50: '#586282',
    500: '#0e2951',
    950: '#000000',
  },
}
SCSS
$custom: #0e2951;
$custom-light: #586282;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2951",
  "rgb": {
    "r": 14,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 215.821,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28513,
    "c": 0.08027,
    "h": 258.4
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#0E2951
secondary
#8C662F
accent
#A53AED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0E2951

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

Preview Lab → · Contrast checker → · Palette generator →

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