#0E153F#0E153F

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

Color values

HEX#0E153F
RGBrgb(14, 21, 63)
HSLhsl(231, 64%, 15%)
HSVhsv(231, 78%, 25%)
CMYKcmyk(77.8%, 66.7%, 0%, 75.3%)
CIE-LABlab(8.89, 13.67, -27.84)
CIE-LCHlch(8.89, 31.01, 296.16°)
OKLaboklab(21.99% 0.0015 -0.0802)
OKLCHoklch(21.99% 0.08 271.1)
XYZxyz(1.3462, 0.9884, 4.8215)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E153F #3F380E
analogous
#0E2D3F #0E153F #200E3F
triadic
#0E153F #3F0E15 #153F0E
tetradic
#0E153F #3F0E2D #3F380E #0E3F20
square
#0E153F #3F0E2D #3F380E #0E3F20
split-complementary
#0E153F #3F200E #2D3F0E
monochromatic
#060819 #060819 #0E153F #192671 #2436A3

Accessibility & contrast

On white

17.53
#0E153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E153F
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E153F#FFFFFF#000000##FFFFFF
##0E153F1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e153f;
/* rgb */ color: rgb(14, 21, 63);
/* oklch */ color: oklch(22.0% 0.080 271.1);
Tailwind
colors: {
  custom: {
    50: '#545274',
    500: '#0e153f',
    950: '#000000',
  },
}
SCSS
$custom: #0e153f;
$custom-light: #545274;
$custom-dark: #000000;
JSON
{
  "hex": "#0e153f",
  "rgb": {
    "r": 14,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 231.429,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21992,
    "c": 0.08021,
    "h": 271.1
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#0E153F
secondary
#7A6F2F
accent
#CF41E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E153F

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

Preview Lab → · Contrast checker → · Palette generator →

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