#0E183C#0E183C

#0E183C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.071 H 268.5°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#0E183C
RGBrgb(14, 24, 60)
HSLhsl(227, 62%, 15%)
HSVhsv(227, 77%, 24%)
CMYKcmyk(76.7%, 60%, 0%, 76.5%)
CIE-LABlab(9.58, 10.01, -24.58)
CIE-LCHlch(9.58, 26.54, 292.15°)
OKLaboklab(22.42% -0.0019 -0.0706)
OKLCHoklch(22.42% 0.071 268.5)
XYZxyz(1.3231, 1.0727, 4.4114)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E183C #3C320E
analogous
#0E2F3C #0E183C #1B0E3C
triadic
#0E183C #3C0E18 #183C0E
tetradic
#0E183C #3C0E2F #3C320E #0E3C1B
square
#0E183C #3C0E2F #3C320E #0E3C1B
split-complementary
#0E183C #3C1B0E #2F3C0E
monochromatic
#060A19 #060A19 #0E183C #1A2C6E #25409F

Accessibility & contrast

On white

17.29
#0E183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E183C
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E183C#FFFFFF#000000##FFFFFF
##0E183C1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e183c;
/* rgb */ color: rgb(14, 24, 60);
/* oklch */ color: oklch(22.4% 0.071 268.5);
Tailwind
colors: {
  custom: {
    50: '#535472',
    500: '#0e183c',
    950: '#000000',
  },
}
SCSS
$custom: #0e183c;
$custom-light: #535472;
$custom-dark: #000000;
JSON
{
  "hex": "#0e183c",
  "rgb": {
    "r": 14,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 226.957,
    "s": 62.162,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22424,
    "c": 0.07061,
    "h": 268.5
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#0E183C
secondary
#77672F
accent
#C243E5
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0E183C

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

Preview Lab → · Contrast checker → · Palette generator →

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