#0E315E#0E315E

#0E315E is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.6% C 0.090 H 256.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#0E315E
RGBrgb(14, 49, 94)
HSLhsl(214, 74%, 21%)
HSVhsv(214, 85%, 37%)
CMYKcmyk(85.1%, 47.9%, 0%, 63.1%)
CIE-LABlab(20.43, 6.07, -30.37)
CIE-LCHlch(20.43, 30.97, 281.30°)
OKLaboklab(31.57% -0.021 -0.0871)
OKLCHoklch(31.57% 0.09 256.4)
XYZxyz(3.2990, 3.0977, 11.0116)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E315E #5E3B0E
analogous
#0E595E #0E315E #130E5E
triadic
#0E315E #5E0E31 #315E0E
tetradic
#0E315E #5E0E59 #5E3B0E #0E5E13
square
#0E315E #5E0E59 #5E3B0E #0E5E13
split-complementary
#0E315E #5E130E #595E0E
monochromatic
#040E1B #061529 #0E315E #164D93 #1E69C9

Accessibility & contrast

On white

12.97
#0E315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0E315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E315E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E315E#FFFFFF#000000##FFFFFF
##0E315E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#082E5D
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0e315e;
/* rgb */ color: rgb(14, 49, 94);
/* oklch */ color: oklch(31.6% 0.090 256.4);
Tailwind
colors: {
  custom: {
    50: '#5b688c',
    500: '#0e315e',
    950: '#000000',
  },
}
SCSS
$custom: #0e315e;
$custom-light: #5b688c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e315e",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 213.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31573,
    "c": 0.08959,
    "h": 256.4
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#0E315E
secondary
#986A30
accent
#A037F1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0E315E

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

Preview Lab → · Contrast checker → · Palette generator →

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