#0E315C#0E315C

#0E315C is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.087 H 255.7°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#0E315C
RGBrgb(14, 49, 92)
HSLhsl(213, 74%, 21%)
HSVhsv(213, 85%, 36%)
CMYKcmyk(84.8%, 46.7%, 0%, 63.9%)
CIE-LABlab(20.29, 5.20, -29.27)
CIE-LCHlch(20.29, 29.73, 280.07°)
OKLaboklab(31.42% -0.0214 -0.0839)
OKLCHoklch(31.42% 0.087 255.7)
XYZxyz(3.2105, 3.0623, 10.5450)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E315C #5C390E
analogous
#0E585C #0E315C #120E5C
triadic
#0E315C #5C0E31 #315C0E
tetradic
#0E315C #5C0E58 #5C390E #0E5C12
square
#0E315C #5C0E58 #5C390E #0E5C12
split-complementary
#0E315C #5C120E #585C0E
monochromatic
#040E1B #061527 #0E315C #164D91 #1E6AC6

Accessibility & contrast

On white

13.02
#0E315C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E315C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E315C#FFFFFF#000000##FFFFFF
##0E315C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e315c;
/* rgb */ color: rgb(14, 49, 92);
/* oklch */ color: oklch(31.4% 0.087 255.7);
Tailwind
colors: {
  custom: {
    50: '#5b688a',
    500: '#0e315c',
    950: '#000000',
  },
}
SCSS
$custom: #0e315c;
$custom-light: #5b688a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e315c",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 213.077,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.08657,
    "h": 255.7
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#0E315C
secondary
#966830
accent
#9D38F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0E315C

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

Preview Lab → · Contrast checker → · Palette generator →

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