#180E4B#180E4B

#180E4B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.106 H 281.5°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#180E4B
RGBrgb(24, 14, 75)
HSLhsl(250, 69%, 17%)
HSVhsv(250, 81%, 29%)
CMYKcmyk(68%, 81.3%, 0%, 70.6%)
CIE-LABlab(9.12, 25.06, -35.86)
CIE-LCHlch(9.12, 43.75, 304.95°)
OKLaboklab(22.76% 0.021 -0.1034)
OKLCHoklch(22.76% 0.106 281.5)
XYZxyz(1.8033, 1.0161, 6.7564)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E4B #414B0E
analogous
#0E234B #180E4B #360E4B
triadic
#180E4B #4B180E #0E4B18
tetradic
#180E4B #4B0E23 #414B0E #0E4B36
square
#180E4B #4B0E23 #414B0E #0E4B36
split-complementary
#180E4B #4B360E #234B0E
monochromatic
#08051A #08051A #180E4B #29187F #3921B2

Accessibility & contrast

On white

17.45
#180E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#180E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E4B
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E4B#FFFFFF#000000##FFFFFF
##180E4B1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#00174A
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #180e4b;
/* rgb */ color: rgb(24, 14, 75);
/* oklch */ color: oklch(22.8% 0.106 281.5);
Tailwind
colors: {
  custom: {
    50: '#5d4e7e',
    500: '#180e4b',
    950: '#000000',
  },
}
SCSS
$custom: #180e4b;
$custom-light: #5d4e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#180e4b",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 249.836,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22757,
    "c": 0.10552,
    "h": 281.5
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#180E4B
secondary
#78862F
accent
#EB3CCF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #180E4B

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

Preview Lab → · Contrast checker → · Palette generator →

#180E4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva