#0E1157#0E1157

#0E1157 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.9% C 0.122 H 270.8°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#0E1157
RGBrgb(14, 17, 87)
HSLhsl(238, 72%, 20%)
HSVhsv(238, 84%, 34%)
CMYKcmyk(83.9%, 80.5%, 0%, 65.9%)
CIE-LABlab(10.42, 26.43, -41.99)
CIE-LCHlch(10.42, 49.61, 302.19°)
OKLaboklab(23.9% 0.0018 -0.1216)
OKLCHoklch(23.9% 0.122 270.8)
XYZxyz(2.1013, 1.1821, 9.1324)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1157 #57540E
analogous
#0E3657 #0E1157 #2F0E57
triadic
#0E1157 #570E11 #11570E
tetradic
#0E1157 #570E36 #57540E #0E572F
square
#0E1157 #570E36 #57540E #0E572F
split-complementary
#0E1157 #572F0E #36570E
monochromatic
#04051A #060722 #0E1157 #161B8C #1F26C0

Accessibility & contrast

On white

16.98
#0E1157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0E1157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1157
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1157#FFFFFF#000000##FFFFFF
##0E11571.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001956
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0e1157;
/* rgb */ color: rgb(14, 17, 87);
/* oklch */ color: oklch(23.9% 0.122 270.8);
Tailwind
colors: {
  custom: {
    50: '#5c5087',
    500: '#0e1157',
    950: '#000000',
  },
}
SCSS
$custom: #0e1157;
$custom-light: #5c5087;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1157",
  "rgb": {
    "r": 14,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 237.534,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23895,
    "c": 0.12159,
    "h": 270.8
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#0E1157
secondary
#918D30
accent
#E839EF
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0E1157

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

Preview Lab → · Contrast checker → · Palette generator →

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