#0E153E#0E153E

#0E153E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.079 H 271.1°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#0E153E
RGBrgb(14, 21, 62)
HSLhsl(231, 63%, 15%)
HSVhsv(231, 77%, 24%)
CMYKcmyk(77.4%, 66.1%, 0%, 75.7%)
CIE-LABlab(8.80, 13.23, -27.28)
CIE-LCHlch(8.80, 30.32, 295.88°)
OKLaboklab(21.89% 0.0014 -0.0786)
OKLCHoklch(21.89% 0.079 271.1)
XYZxyz(1.3185, 0.9774, 4.6757)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E153E #3E370E
analogous
#0E2D3E #0E153E #1F0E3E
triadic
#0E153E #3E0E15 #153E0E
tetradic
#0E153E #3E0E2D #3E370E #0E3E1F
square
#0E153E #3E0E2D #3E370E #0E3E1F
split-complementary
#0E153E #3E1F0E #2D3E0E
monochromatic
#060819 #060819 #0E153E #192670 #2537A2

Accessibility & contrast

On white

17.57
#0E153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0E153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E153E
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E153E#FFFFFF#000000##FFFFFF
##0E153E1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e153e;
/* rgb */ color: rgb(14, 21, 62);
/* oklch */ color: oklch(21.9% 0.079 271.1);
Tailwind
colors: {
  custom: {
    50: '#545274',
    500: '#0e153e',
    950: '#000000',
  },
}
SCSS
$custom: #0e153e;
$custom-light: #545274;
$custom-dark: #000000;
JSON
{
  "hex": "#0e153e",
  "rgb": {
    "r": 14,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 231.25,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21893,
    "c": 0.07857,
    "h": 271.1
  },
  "luminance": 0.00977
}

Semantic roles & 50–950 ramp

primary
#0E153E
secondary
#796E2F
accent
#CE42E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E153E

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

Preview Lab → · Contrast checker → · Palette generator →

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