#0E2A51#0E2A51

#0E2A51 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.8% C 0.079 H 257.4°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#0E2A51
RGBrgb(14, 42, 81)
HSLhsl(215, 71%, 19%)
HSVhsv(215, 83%, 32%)
CMYKcmyk(82.7%, 48.1%, 0%, 68.2%)
CIE-LABlab(17.19, 5.50, -26.90)
CIE-LCHlch(17.19, 27.45, 281.55°)
OKLaboklab(28.77% -0.0171 -0.077)
OKLCHoklch(28.77% 0.079 257.4)
XYZxyz(2.4937, 2.3431, 8.1038)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A51 #51350E
analogous
#0E4B51 #0E2A51 #130E51
triadic
#0E2A51 #510E2A #2A510E
tetradic
#0E2A51 #510E4B #51350E #0E5113
square
#0E2A51 #510E4B #51350E #0E5113
split-complementary
#0E2A51 #51130E #4B510E
monochromatic
#050E1A #050F1D #0E2A51 #174585 #2060B9

Accessibility & contrast

On white

14.30
#0E2A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0E2A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2A51
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A51#FFFFFF#000000##FFFFFF
##0E2A511.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E52
Deuteranopia (green-blind)
#092750
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2a51;
/* rgb */ color: rgb(14, 42, 81);
/* oklch */ color: oklch(28.8% 0.079 257.4);
Tailwind
colors: {
  custom: {
    50: '#586382',
    500: '#0e2a51',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a51;
$custom-light: #586382;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a51",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 214.925,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28772,
    "c": 0.07893,
    "h": 257.4
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#0E2A51
secondary
#8C652F
accent
#A33AED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0E2A51

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

Preview Lab → · Contrast checker → · Palette generator →

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