#0E315D#0E315D

#0E315D is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.088 H 256.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#0E315D
RGBrgb(14, 49, 93)
HSLhsl(213, 74%, 21%)
HSVhsv(213, 85%, 36%)
CMYKcmyk(84.9%, 47.3%, 0%, 63.5%)
CIE-LABlab(20.36, 5.63, -29.82)
CIE-LCHlch(20.36, 30.35, 280.70°)
OKLaboklab(31.5% -0.0212 -0.0855)
OKLCHoklch(31.5% 0.088 256.1)
XYZxyz(3.2545, 3.0799, 10.7768)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E315D #5D3A0E
analogous
#0E585D #0E315D #120E5D
triadic
#0E315D #5D0E31 #315D0E
tetradic
#0E315D #5D0E58 #5D3A0E #0E5D12
square
#0E315D #5D0E58 #5D3A0E #0E5D12
split-complementary
#0E315D #5D120E #585D0E
monochromatic
#040E1B #061528 #0E315D #164D92 #1E69C7

Accessibility & contrast

On white

13.00
#0E315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E315D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E315D#FFFFFF#000000##FFFFFF
##0E315D1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A355F
Deuteranopia (green-blind)
#0A2E5C
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0e315d;
/* rgb */ color: rgb(14, 49, 93);
/* oklch */ color: oklch(31.5% 0.088 256.1);
Tailwind
colors: {
  custom: {
    50: '#5b688b',
    500: '#0e315d',
    950: '#000000',
  },
}
SCSS
$custom: #0e315d;
$custom-light: #5b688b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e315d",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 213.418,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31496,
    "c": 0.08807,
    "h": 256.1
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#0E315D
secondary
#976930
accent
#9E37F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0E315D

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

Preview Lab → · Contrast checker → · Palette generator →

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