#0E162C#0E162C

#0E162C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.6% C 0.046 H 267.3°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#0E162C
RGBrgb(14, 22, 44)
HSLhsl(224, 52%, 11%)
HSVhsv(224, 68%, 17%)
CMYKcmyk(68.2%, 50%, 0%, 82.7%)
CIE-LABlab(7.67, 4.63, -16.02)
CIE-LCHlch(7.67, 16.67, 286.13°)
OKLaboklab(20.56% -0.0022 -0.0455)
OKLCHoklch(20.56% 0.046 267.3)
XYZxyz(0.9225, 0.8490, 2.4976)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E162C #2C240E
analogous
#0E252C #0E162C #150E2C
triadic
#0E162C #2C0E16 #162C0E
tetradic
#0E162C #2C0E25 #2C240E #0E2C15
square
#0E162C #2C0E25 #2C240E #0E2C15
split-complementary
#0E162C #2C150E #252C0E
monochromatic
#070C17 #070C17 #0E162C #1D2D5A #2C4489

Accessibility & contrast

On white

17.95
#0E162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E162C
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E162C#FFFFFF#000000##FFFFFF
##0E162C1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182D
Deuteranopia (green-blind)
#09162C
Tritanopia (blue-blind)
#011B1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0e162c;
/* rgb */ color: rgb(14, 22, 44);
/* oklch */ color: oklch(20.6% 0.046 267.3);
Tailwind
colors: {
  custom: {
    50: '#4f5265',
    500: '#0e162c',
    950: '#000000',
  },
}
SCSS
$custom: #0e162c;
$custom-light: #4f5265;
$custom-dark: #000000;
JSON
{
  "hex": "#0e162c",
  "rgb": {
    "r": 14,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 224,
    "s": 51.724,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20562,
    "c": 0.04553,
    "h": 267.3
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#0E162C
secondary
#665830
accent
#B54DDB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #0E162C

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

Preview Lab → · Contrast checker → · Palette generator →

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