#0E183A#0E183A

#0E183A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.2% C 0.067 H 268.2°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#0E183A
RGBrgb(14, 24, 58)
HSLhsl(226, 61%, 14%)
HSVhsv(226, 76%, 23%)
CMYKcmyk(75.9%, 58.6%, 0%, 77.3%)
CIE-LABlab(9.42, 9.13, -23.42)
CIE-LCHlch(9.42, 25.14, 291.29°)
OKLaboklab(22.25% -0.0021 -0.0672)
OKLCHoklch(22.25% 0.067 268.2)
XYZxyz(1.2712, 1.0520, 4.1382)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E183A #3A300E
analogous
#0E2E3A #0E183A #1A0E3A
triadic
#0E183A #3A0E18 #183A0E
tetradic
#0E183A #3A0E2E #3A300E #0E3A1A
square
#0E183A #3A0E2E #3A300E #0E3A1A
split-complementary
#0E183A #3A1A0E #2E3A0E
monochromatic
#060A19 #060A19 #0E183A #1A2C6B #26419D

Accessibility & contrast

On white

17.35
#0E183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0E183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E183A
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E183A#FFFFFF#000000##FFFFFF
##0E183A1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e183a;
/* rgb */ color: rgb(14, 24, 58);
/* oklch */ color: oklch(22.2% 0.067 268.2);
Tailwind
colors: {
  custom: {
    50: '#535470',
    500: '#0e183a',
    950: '#000000',
  },
}
SCSS
$custom: #0e183a;
$custom-light: #535470;
$custom-dark: #000000;
JSON
{
  "hex": "#0e183a",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 226.364,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22246,
    "c": 0.0672,
    "h": 268.2
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#0E183A
secondary
#75652F
accent
#C044E4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0E183A

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

Preview Lab → · Contrast checker → · Palette generator →

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