#0E0C57#0E0C57

#0E0C57 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 23.1% C 0.127 H 271.7°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#0E0C57
RGBrgb(14, 12, 87)
HSLhsl(242, 76%, 19%)
HSVhsv(242, 86%, 34%)
CMYKcmyk(83.9%, 86.2%, 0%, 65.9%)
CIE-LABlab(9.35, 29.49, -43.76)
CIE-LCHlch(9.35, 52.77, 303.98°)
OKLaboklab(23.14% 0.0037 -0.1267)
OKLCHoklch(23.14% 0.127 271.7)
XYZxyz(2.0323, 1.0442, 9.1094)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0C57 #55570C
analogous
#0C3057 #0E0C57 #340C57
triadic
#0E0C57 #570E0C #0C570E
tetradic
#0E0C57 #570C30 #55570C #0C5734
square
#0E0C57 #570C30 #55570C #0C5734
split-complementary
#0E0C57 #57340C #30570C
monochromatic
#04041B #050521 #0E0C57 #17138D #1F1BC3

Accessibility & contrast

On white

17.37
#0E0C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0E0C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0C57
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0C57#FFFFFF#000000##FFFFFF
##0E0C571.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E59
Deuteranopia (green-blind)
#001656
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e0c57;
/* rgb */ color: rgb(14, 12, 87);
/* oklch */ color: oklch(23.1% 0.127 271.7);
Tailwind
colors: {
  custom: {
    50: '#5c4c87',
    500: '#0e0c57',
    950: '#000000',
  },
}
SCSS
$custom: #0e0c57;
$custom-light: #5c4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0c57",
  "rgb": {
    "r": 14,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 241.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23141,
    "c": 0.12672,
    "h": 271.7
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#0E0C57
secondary
#8F922D
accent
#F235ED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #0E0C57

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

Preview Lab → · Contrast checker → · Palette generator →

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