#0E0F56#0E0F56

#0E0F56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.5% C 0.122 H 271.3°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#0E0F56
RGBrgb(14, 15, 86)
HSLhsl(239, 72%, 20%)
HSVhsv(239, 84%, 34%)
CMYKcmyk(83.7%, 82.6%, 0%, 66.3%)
CIE-LABlab(9.85, 27.33, -42.26)
CIE-LCHlch(9.85, 50.32, 302.89°)
OKLaboklab(23.45% 0.0028 -0.1223)
OKLCHoklch(23.45% 0.122 271.3)
XYZxyz(2.0311, 1.1067, 8.9089)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0F56 #56550E
analogous
#0E3356 #0E0F56 #310E56
triadic
#0E0F56 #560E0F #0F560E
tetradic
#0E0F56 #560E33 #56550E #0E5631
square
#0E0F56 #560E33 #56550E #0E5631
split-complementary
#0E0F56 #56310E #33560E
monochromatic
#04051A #050621 #0E0F56 #17188B #1F21BF

Accessibility & contrast

On white

17.19
#0E0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E0F56
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0F56#FFFFFF#000000##FFFFFF
##0E0F561.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e0f56;
/* rgb */ color: rgb(14, 15, 86);
/* oklch */ color: oklch(23.5% 0.122 271.3);
Tailwind
colors: {
  custom: {
    50: '#5c4e87',
    500: '#0e0f56',
    950: '#000000',
  },
}
SCSS
$custom: #0e0f56;
$custom-light: #5c4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0f56",
  "rgb": {
    "r": 14,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 239.167,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23451,
    "c": 0.12238,
    "h": 271.3
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#0E0F56
secondary
#908F30
accent
#EC39EF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0E0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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