#0E315F#0E315F

#0E315F is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.7% C 0.091 H 256.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#0E315F
RGBrgb(14, 49, 95)
HSLhsl(214, 74%, 21%)
HSVhsv(214, 85%, 37%)
CMYKcmyk(85.3%, 48.4%, 0%, 62.7%)
CIE-LABlab(20.50, 6.51, -30.91)
CIE-LCHlch(20.50, 31.59, 281.88°)
OKLaboklab(31.65% -0.0208 -0.0887)
OKLCHoklch(31.65% 0.091 256.8)
XYZxyz(3.3442, 3.1158, 11.2494)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E315F #5F3C0E
analogous
#0E5A5F #0E315F #140E5F
triadic
#0E315F #5F0E31 #315F0E
tetradic
#0E315F #5F0E5A #5F3C0E #0E5F14
square
#0E315F #5F0E5A #5F3C0E #0E5F14
split-complementary
#0E315F #5F140E #5A5F0E
monochromatic
#040E1B #06152A #0E315F #164D94 #1E68CA

Accessibility & contrast

On white

12.94
#0E315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E315F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E315F#FFFFFF#000000##FFFFFF
##0E315F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193561
Deuteranopia (green-blind)
#062E5E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0e315f;
/* rgb */ color: rgb(14, 49, 95);
/* oklch */ color: oklch(31.7% 0.091 256.8);
Tailwind
colors: {
  custom: {
    50: '#5b688d',
    500: '#0e315f',
    950: '#000000',
  },
}
SCSS
$custom: #0e315f;
$custom-light: #5b688d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e315f",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 214.074,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.09109,
    "h": 256.8
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#0E315F
secondary
#996B30
accent
#A137F1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0E315F

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

Preview Lab → · Contrast checker → · Palette generator →

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