#0E183B#0E183B

#0E183B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.3% C 0.069 H 268.3°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#0E183B
RGBrgb(14, 24, 59)
HSLhsl(227, 62%, 14%)
HSVhsv(227, 76%, 23%)
CMYKcmyk(76.3%, 59.3%, 0%, 76.9%)
CIE-LABlab(9.50, 9.57, -24.00)
CIE-LCHlch(9.50, 25.84, 291.73°)
OKLaboklab(22.34% -0.002 -0.0689)
OKLCHoklch(22.34% 0.069 268.3)
XYZxyz(1.2969, 1.0623, 4.2735)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E183B #3B310E
analogous
#0E2F3B #0E183B #1B0E3B
triadic
#0E183B #3B0E18 #183B0E
tetradic
#0E183B #3B0E2F #3B310E #0E3B1B
square
#0E183B #3B0E2F #3B310E #0E3B1B
split-complementary
#0E183B #3B1B0E #2F3B0E
monochromatic
#060A19 #060A19 #0E183B #1A2C6C #25409E

Accessibility & contrast

On white

17.32
#0E183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E183B
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E183B#FFFFFF#000000##FFFFFF
##0E183B1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e183b;
/* rgb */ color: rgb(14, 24, 59);
/* oklch */ color: oklch(22.3% 0.069 268.3);
Tailwind
colors: {
  custom: {
    50: '#535471',
    500: '#0e183b',
    950: '#000000',
  },
}
SCSS
$custom: #0e183b;
$custom-light: #535471;
$custom-dark: #000000;
JSON
{
  "hex": "#0e183b",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 226.667,
    "s": 61.644,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22335,
    "c": 0.06891,
    "h": 268.3
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#0E183B
secondary
#76662F
accent
#C143E5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #0E183B

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

Preview Lab → · Contrast checker → · Palette generator →

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