#0E182F#0E182F

#0E182F is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.3% C 0.048 H 264.9°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#0E182F
RGBrgb(14, 24, 47)
HSLhsl(222, 54%, 12%)
HSVhsv(222, 70%, 18%)
CMYKcmyk(70.2%, 48.9%, 0%, 81.6%)
CIE-LABlab(8.58, 4.35, -16.78)
CIE-LCHlch(8.58, 17.33, 284.53°)
OKLaboklab(21.34% -0.0042 -0.0477)
OKLCHoklch(21.34% 0.048 264.9)
XYZxyz(1.0207, 0.9518, 2.8187)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E182F #2F250E
analogous
#0E292F #0E182F #150E2F
triadic
#0E182F #2F0E18 #182F0E
tetradic
#0E182F #2F0E29 #2F250E #0E2F15
square
#0E182F #2F0E29 #2F250E #0E2F15
split-complementary
#0E182F #2F150E #292F0E
monochromatic
#070C18 #070C18 #0E182F #1C305E #2A488D

Accessibility & contrast

On white

17.64
#0E182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0E182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E182F
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E182F#FFFFFF#000000##FFFFFF
##0E182F1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A30
Deuteranopia (green-blind)
#0A172F
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0e182f;
/* rgb */ color: rgb(14, 24, 47);
/* oklch */ color: oklch(21.3% 0.048 264.9);
Tailwind
colors: {
  custom: {
    50: '#505467',
    500: '#0e182f',
    950: '#000000',
  },
}
SCSS
$custom: #0e182f;
$custom-light: #505467;
$custom-dark: #000000;
JSON
{
  "hex": "#0e182f",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 221.818,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21339,
    "c": 0.04785,
    "h": 264.9
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#0E182F
secondary
#69582F
accent
#B14ADD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0E182F

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

Preview Lab → · Contrast checker → · Palette generator →

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