#0E1154#0E1154

#0E1154 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.117 H 271.1°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#0E1154
RGBrgb(14, 17, 84)
HSLhsl(237, 71%, 19%)
HSVhsv(237, 83%, 33%)
CMYKcmyk(83.3%, 79.8%, 0%, 67.1%)
CIE-LABlab(10.06, 25.27, -40.54)
CIE-LCHlch(10.06, 47.77, 301.93°)
OKLaboklab(23.53% 0.0023 -0.1174)
OKLCHoklch(23.53% 0.117 271.1)
XYZxyz(1.9812, 1.1341, 8.5003)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1154 #54510E
analogous
#0E3454 #0E1154 #2E0E54
triadic
#0E1154 #540E11 #11540E
tetradic
#0E1154 #540E34 #54510E #0E542E
square
#0E1154 #540E34 #54510E #0E542E
split-complementary
#0E1154 #542E0E #34540E
monochromatic
#04051A #050620 #0E1154 #171C88 #1F26BD

Accessibility & contrast

On white

17.12
#0E1154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0E1154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1154
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1154#FFFFFF#000000##FFFFFF
##0E11541.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001853
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0e1154;
/* rgb */ color: rgb(14, 17, 84);
/* oklch */ color: oklch(23.5% 0.117 271.1);
Tailwind
colors: {
  custom: {
    50: '#5b4f85',
    500: '#0e1154',
    950: '#000000',
  },
}
SCSS
$custom: #0e1154;
$custom-light: #5b4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1154",
  "rgb": {
    "r": 14,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 237.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23529,
    "c": 0.11741,
    "h": 271.1
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#0E1154
secondary
#8E8A2F
accent
#E63AEE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0E1154

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

Preview Lab → · Contrast checker → · Palette generator →

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