#0E0E56#0E0E56

#0E0E56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.3% C 0.123 H 271.5°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#0E0E56
RGBrgb(14, 14, 86)
HSLhsl(240, 72%, 20%)
HSVhsv(240, 84%, 34%)
CMYKcmyk(83.7%, 83.7%, 0%, 66.3%)
CIE-LABlab(9.63, 27.95, -42.62)
CIE-LCHlch(9.63, 50.96, 303.26°)
OKLaboklab(23.3% 0.0032 -0.1234)
OKLCHoklch(23.3% 0.123 271.5)
XYZxyz(2.0173, 1.0791, 8.9043)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0E56 #56560E
analogous
#0E3256 #0E0E56 #320E56
triadic
#0E0E56 #560E0E #0E560E
tetradic
#0E0E56 #560E32 #56560E #0E5632
square
#0E0E56 #560E32 #56560E #0E5632
split-complementary
#0E0E56 #56320E #32560E
monochromatic
#04041A #050521 #0E0E56 #17178B #1F1FBF

Accessibility & contrast

On white

17.27
#0E0E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0E0E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0E56
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0E56#FFFFFF#000000##FFFFFF
##0E0E561.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001755
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e0e56;
/* rgb */ color: rgb(14, 14, 86);
/* oklch */ color: oklch(23.3% 0.123 271.5);
Tailwind
colors: {
  custom: {
    50: '#5c4e87',
    500: '#0e0e56',
    950: '#000000',
  },
}
SCSS
$custom: #0e0e56;
$custom-light: #5c4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0e56",
  "rgb": {
    "r": 14,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23298,
    "c": 0.12341,
    "h": 271.5
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#0E0E56
secondary
#909030
accent
#EF39EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0E0E56

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

Preview Lab → · Contrast checker → · Palette generator →

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