#0E316F#0E316F

#0E316F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.115 H 260.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#0E316F
RGBrgb(14, 49, 111)
HSLhsl(218, 78%, 25%)
HSVhsv(218, 87%, 44%)
CMYKcmyk(87.4%, 55.9%, 0%, 56.5%)
CIE-LABlab(21.72, 13.46, -39.36)
CIE-LCHlch(21.72, 41.60, 288.88°)
OKLaboklab(32.97% -0.0182 -0.1135)
OKLCHoklch(32.97% 0.115 260.9)
XYZxyz(4.1476, 3.4372, 15.4807)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E316F #6F4C0E
analogous
#0E616F #0E316F #1C0E6F
triadic
#0E316F #6F0E31 #316F0E
tetradic
#0E316F #6F0E61 #6F4C0E #0E6F1C
square
#0E316F #6F0E61 #6F4C0E #0E6F1C
split-complementary
#0E316F #6F1C0E #616F0E
monochromatic
#030C1B #071939 #0E316F #1549A5 #1C61DC

Accessibility & contrast

On white

12.44
#0E316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0E316F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E316F
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E316F#FFFFFF#000000##FFFFFF
##0E316F1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0e316f;
/* rgb */ color: rgb(14, 49, 111);
/* oklch */ color: oklch(33.0% 0.115 260.9);
Tailwind
colors: {
  custom: {
    50: '#606899',
    500: '#0e316f',
    950: '#000000',
  },
}
SCSS
$custom: #0e316f;
$custom-light: #606899;
$custom-dark: #000000;
JSON
{
  "hex": "#0e316f",
  "rgb": {
    "r": 14,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 218.351,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32969,
    "c": 0.11498,
    "h": 260.9
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#0E316F
secondary
#A77D32
accent
#AF34F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0E316F

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

Preview Lab → · Contrast checker → · Palette generator →

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