#0E183F#0E183F

#0E183F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.076 H 268.8°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#0E183F
RGBrgb(14, 24, 63)
HSLhsl(228, 64%, 15%)
HSVhsv(228, 78%, 25%)
CMYKcmyk(77.8%, 61.9%, 0%, 75.3%)
CIE-LABlab(9.84, 11.32, -26.30)
CIE-LCHlch(9.84, 28.63, 293.28°)
OKLaboklab(22.7% -0.0016 -0.0756)
OKLCHoklch(22.7% 0.076 268.8)
XYZxyz(1.4046, 1.1054, 4.8410)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E183F #3F350E
analogous
#0E303F #0E183F #1C0E3F
triadic
#0E183F #3F0E18 #183F0E
tetradic
#0E183F #3F0E30 #3F350E #0E3F1C
square
#0E183F #3F0E30 #3F350E #0E3F1C
split-complementary
#0E183F #3F1C0E #303F0E
monochromatic
#060A19 #060A19 #0E183F #192B71 #243EA3

Accessibility & contrast

On white

17.20
#0E183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E183F
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E183F#FFFFFF#000000##FFFFFF
##0E183F1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e183f;
/* rgb */ color: rgb(14, 24, 63);
/* oklch */ color: oklch(22.7% 0.076 268.8);
Tailwind
colors: {
  custom: {
    50: '#545474',
    500: '#0e183f',
    950: '#000000',
  },
}
SCSS
$custom: #0e183f;
$custom-light: #545474;
$custom-dark: #000000;
JSON
{
  "hex": "#0e183f",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 227.755,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.227,
    "c": 0.07566,
    "h": 268.8
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#0E183F
secondary
#7A6B2F
accent
#C541E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E183F

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

Preview Lab → · Contrast checker → · Palette generator →

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