#0E315B#0E315B

#0E315B is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.3% C 0.085 H 255.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#0E315B
RGBrgb(14, 49, 91)
HSLhsl(213, 73%, 21%)
HSVhsv(213, 85%, 36%)
CMYKcmyk(84.6%, 46.2%, 0%, 64.3%)
CIE-LABlab(20.22, 4.76, -28.72)
CIE-LCHlch(20.22, 29.12, 279.41°)
OKLaboklab(31.35% -0.0217 -0.0822)
OKLCHoklch(31.35% 0.085 255.2)
XYZxyz(3.1670, 3.0449, 10.3163)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E315B #5B380E
analogous
#0E575B #0E315B #110E5B
triadic
#0E315B #5B0E31 #315B0E
tetradic
#0E315B #5B0E57 #5B380E #0E5B11
square
#0E315B #5B0E57 #5B380E #0E5B11
split-complementary
#0E315B #5B110E #575B0E
monochromatic
#040E1B #061426 #0E315B #164E90 #1E6AC5

Accessibility & contrast

On white

13.05
#0E315B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0E315B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E315B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E315B#FFFFFF#000000##FFFFFF
##0E315B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C355D
Deuteranopia (green-blind)
#0D2E5A
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0e315b;
/* rgb */ color: rgb(14, 49, 91);
/* oklch */ color: oklch(31.3% 0.085 255.2);
Tailwind
colors: {
  custom: {
    50: '#5a688a',
    500: '#0e315b',
    950: '#000000',
  },
}
SCSS
$custom: #0e315b;
$custom-light: #5a688a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e315b",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 212.727,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31345,
    "c": 0.08506,
    "h": 255.2
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#0E315B
secondary
#956730
accent
#9C38F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0E315B

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

Preview Lab → · Contrast checker → · Palette generator →

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