#0E152F#0E152F

#0E152F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.5% C 0.053 H 269.9°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#0E152F
RGBrgb(14, 21, 47)
HSLhsl(227, 54%, 12%)
HSVhsv(227, 70%, 18%)
CMYKcmyk(70.2%, 55.3%, 0%, 81.6%)
CIE-LABlab(7.54, 6.69, -18.44)
CIE-LCHlch(7.54, 19.61, 289.94°)
OKLaboklab(20.53% -0.0001 -0.0526)
OKLCHoklch(20.53% 0.053 269.9)
XYZxyz(0.9622, 0.8349, 2.7992)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E152F #2F280E
analogous
#0E262F #0E152F #180E2F
triadic
#0E152F #2F0E15 #152F0E
tetradic
#0E152F #2F0E26 #2F280E #0E2F18
square
#0E152F #2F0E26 #2F280E #0E2F18
split-complementary
#0E152F #2F180E #262F0E
monochromatic
#070B18 #070B18 #0E152F #1C2A5E #2A3F8D

Accessibility & contrast

On white

17.99
#0E152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0E152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E152F
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E152F#FFFFFF#000000##FFFFFF
##0E152F1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0e152f;
/* rgb */ color: rgb(14, 21, 47);
/* oklch */ color: oklch(20.5% 0.053 269.9);
Tailwind
colors: {
  custom: {
    50: '#505167',
    500: '#0e152f',
    950: '#000000',
  },
}
SCSS
$custom: #0e152f;
$custom-light: #505167;
$custom-dark: #000000;
JSON
{
  "hex": "#0e152f",
  "rgb": {
    "r": 14,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 227.273,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20532,
    "c": 0.05262,
    "h": 269.9
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#0E152F
secondary
#695D2F
accent
#BE4ADD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0E152F

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

Preview Lab → · Contrast checker → · Palette generator →

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