#0E3156#0E3156

#0E3156 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.078 H 252.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#0E3156
RGBrgb(14, 49, 86)
HSLhsl(211, 72%, 20%)
HSVhsv(211, 84%, 34%)
CMYKcmyk(83.7%, 43%, 0%, 66.3%)
CIE-LABlab(19.89, 2.59, -25.94)
CIE-LCHlch(19.89, 26.07, 275.70°)
OKLaboklab(30.98% -0.023 -0.0741)
OKLCHoklch(30.98% 0.078 252.8)
XYZxyz(2.9585, 2.9615, 9.2180)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3156 #56330E
analogous
#0E5556 #0E3156 #0F0E56
triadic
#0E3156 #560E31 #31560E
tetradic
#0E3156 #560E55 #56330E #0E560F
square
#0E3156 #560E55 #56330E #0E560F
split-complementary
#0E3156 #560F0E #55560E
monochromatic
#040F1A #051321 #0E3156 #174F8B #1F6DBF

Accessibility & contrast

On white

13.19
#0E3156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0E3156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E3156
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3156#FFFFFF#000000##FFFFFF
##0E31561.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3457
Deuteranopia (green-blind)
#142D55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0e3156;
/* rgb */ color: rgb(14, 49, 86);
/* oklch */ color: oklch(31.0% 0.078 252.8);
Tailwind
colors: {
  custom: {
    50: '#596886',
    500: '#0e3156',
    950: '#000000',
  },
}
SCSS
$custom: #0e3156;
$custom-light: #596886;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3156",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 210.833,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30977,
    "c": 0.07756,
    "h": 252.8
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#0E3156
secondary
#906130
accent
#9639EF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0E3156

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

Preview Lab → · Contrast checker → · Palette generator →

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