#0E3157#0E3157

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

Color values

HEX#0E3157
RGBrgb(14, 49, 87)
HSLhsl(211, 72%, 20%)
HSVhsv(211, 84%, 34%)
CMYKcmyk(83.9%, 43.7%, 0%, 65.9%)
CIE-LABlab(19.95, 3.02, -26.50)
CIE-LCHlch(19.95, 26.67, 276.50°)
OKLaboklab(31.05% -0.0227 -0.0757)
OKLCHoklch(31.05% 0.079 253.3)
XYZxyz(2.9991, 2.9778, 9.4317)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3157 #57340E
analogous
#0E5657 #0E3157 #100E57
triadic
#0E3157 #570E31 #31570E
tetradic
#0E3157 #570E56 #57340E #0E5710
square
#0E3157 #570E56 #57340E #0E5710
split-complementary
#0E3157 #57100E #56570E
monochromatic
#040F1A #061322 #0E3157 #164F8C #1F6CC0

Accessibility & contrast

On white

13.16
#0E3157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0E3157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E3157
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3157#FFFFFF#000000##FFFFFF
##0E31571.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3459
Deuteranopia (green-blind)
#132D56
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0e3157;
/* rgb */ color: rgb(14, 49, 87);
/* oklch */ color: oklch(31.0% 0.079 253.3);
Tailwind
colors: {
  custom: {
    50: '#596886',
    500: '#0e3157',
    950: '#000000',
  },
}
SCSS
$custom: #0e3157;
$custom-light: #596886;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3157",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 211.233,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31049,
    "c": 0.07906,
    "h": 253.3
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#0E3157
secondary
#916230
accent
#9839EF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0E3157

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

Preview Lab → · Contrast checker → · Palette generator →

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