#180E57#180E57

#180E57 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.2% C 0.122 H 278.3°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#180E57
RGBrgb(24, 14, 87)
HSLhsl(248, 72%, 20%)
HSVhsv(248, 84%, 34%)
CMYKcmyk(72.4%, 83.9%, 0%, 65.9%)
CIE-LABlab(10.53, 29.29, -41.79)
CIE-LCHlch(10.53, 51.03, 305.03°)
OKLaboklab(24.16% 0.0176 -0.1207)
OKLCHoklch(24.16% 0.122 278.3)
XYZxyz(2.2535, 1.1962, 9.1271)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E57 #4D570E
analogous
#0E2957 #180E57 #3C0E57
triadic
#180E57 #57180E #0E5718
tetradic
#180E57 #570E29 #4D570E #0E573C
square
#180E57 #570E29 #4D570E #0E573C
split-complementary
#180E57 #573C0E #29570E
monochromatic
#07041A #090622 #180E57 #27168C #351FC0

Accessibility & contrast

On white

16.95
#180E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#180E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E57
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E57#FFFFFF#000000##FFFFFF
##180E571.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F59
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #180e57;
/* rgb */ color: rgb(24, 14, 87);
/* oklch */ color: oklch(24.2% 0.122 278.3);
Tailwind
colors: {
  custom: {
    50: '#604e87',
    500: '#180e57',
    950: '#000000',
  },
}
SCSS
$custom: #180e57;
$custom-light: #604e87;
$custom-dark: #000000;
JSON
{
  "hex": "#180e57",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 248.219,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24164,
    "c": 0.12198,
    "h": 278.3
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#180E57
secondary
#849130
accent
#EF39D6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #180E57

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

Preview Lab → · Contrast checker → · Palette generator →

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