#0E183E#0E183E

#0E183E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.074 H 268.7°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#0E183E
RGBrgb(14, 24, 62)
HSLhsl(228, 63%, 15%)
HSVhsv(228, 77%, 24%)
CMYKcmyk(77.4%, 61.3%, 0%, 75.7%)
CIE-LABlab(9.75, 10.88, -25.73)
CIE-LCHlch(9.75, 27.94, 292.92°)
OKLaboklab(22.61% -0.0017 -0.074)
OKLCHoklch(22.61% 0.074 268.7)
XYZxyz(1.3769, 1.0943, 4.6951)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E183E #3E340E
analogous
#0E303E #0E183E #1C0E3E
triadic
#0E183E #3E0E18 #183E0E
tetradic
#0E183E #3E0E30 #3E340E #0E3E1C
square
#0E183E #3E0E30 #3E340E #0E3E1C
split-complementary
#0E183E #3E1C0E #303E0E
monochromatic
#060A19 #060A19 #0E183E #192B70 #253FA2

Accessibility & contrast

On white

17.23
#0E183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0E183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E183E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E183E#FFFFFF#000000##FFFFFF
##0E183E1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e183e;
/* rgb */ color: rgb(14, 24, 62);
/* oklch */ color: oklch(22.6% 0.074 268.7);
Tailwind
colors: {
  custom: {
    50: '#545474',
    500: '#0e183e',
    950: '#000000',
  },
}
SCSS
$custom: #0e183e;
$custom-light: #545474;
$custom-dark: #000000;
JSON
{
  "hex": "#0e183e",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 227.5,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22607,
    "c": 0.07399,
    "h": 268.7
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#0E183E
secondary
#796A2F
accent
#C442E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E183E

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

Preview Lab → · Contrast checker → · Palette generator →

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