#0E3151#0E3151

#0E3151 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.6% C 0.070 H 249.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#0E3151
RGBrgb(14, 49, 81)
HSLhsl(209, 71%, 19%)
HSVhsv(209, 83%, 32%)
CMYKcmyk(82.7%, 39.5%, 0%, 68.2%)
CIE-LABlab(19.57, 0.43, -23.11)
CIE-LCHlch(19.57, 23.11, 271.07°)
OKLaboklab(30.63% -0.0244 -0.0658)
OKLCHoklch(30.63% 0.07 249.6)
XYZxyz(2.7641, 2.8837, 8.1939)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3151 #512E0E
analogous
#0E514F #0E3151 #0E0F51
triadic
#0E3151 #510E31 #31510E
tetradic
#0E3151 #4F0E51 #512E0E #0F510E
square
#0E3151 #4F0E51 #512E0E #0F510E
split-complementary
#0E3151 #510E0F #514F0E
monochromatic
#05101A #05111D #0E3151 #175185 #2070B9

Accessibility & contrast

On white

13.32
#0E3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0E3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E3151
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3151#FFFFFF#000000##FFFFFF
##0E31511.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223352
Deuteranopia (green-blind)
#182D50
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0e3151;
/* rgb */ color: rgb(14, 49, 81);
/* oklch */ color: oklch(30.6% 0.070 249.6);
Tailwind
colors: {
  custom: {
    50: '#586882',
    500: '#0e3151',
    950: '#000000',
  },
}
SCSS
$custom: #0e3151;
$custom-light: #586882;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3151",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 208.657,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30625,
    "c": 0.07016,
    "h": 249.6
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#0E3151
secondary
#8C5B2F
accent
#903AED
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0E3151

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

Preview Lab → · Contrast checker → · Palette generator →

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