#180E4F#180E4F

#180E4F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.111 H 280.3°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#180E4F
RGBrgb(24, 14, 79)
HSLhsl(249, 70%, 18%)
HSVhsv(249, 82%, 31%)
CMYKcmyk(69.6%, 82.3%, 0%, 69%)
CIE-LABlab(9.58, 26.48, -37.88)
CIE-LCHlch(9.58, 46.22, 304.96°)
OKLaboklab(23.22% 0.0199 -0.1093)
OKLCHoklch(23.22% 0.111 280.3)
XYZxyz(1.9446, 1.0726, 7.5002)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E4F #454F0E
analogous
#0E244F #180E4F #380E4F
triadic
#180E4F #4F180E #0E4F18
tetradic
#180E4F #4F0E24 #454F0E #0E4F38
square
#180E4F #4F0E24 #454F0E #0E4F38
split-complementary
#180E4F #4F380E #244F0E
monochromatic
#08051A #08051B #180E4F #281783 #3820B7

Accessibility & contrast

On white

17.29
#180E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#180E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E4F
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E4F#FFFFFF#000000##FFFFFF
##180E4F1.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)
#001D51
Deuteranopia (green-blind)
#00184E
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #180e4f;
/* rgb */ color: rgb(24, 14, 79);
/* oklch */ color: oklch(23.2% 0.111 280.3);
Tailwind
colors: {
  custom: {
    50: '#5e4e81',
    500: '#180e4f',
    950: '#000000',
  },
}
SCSS
$custom: #180e4f;
$custom-light: #5e4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#180e4f",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 249.231,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23218,
    "c": 0.1111,
    "h": 280.3
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#180E4F
secondary
#7C8A2F
accent
#ED3BD1
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #180E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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