#180F76#180F76

#180F76 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.2% C 0.161 H 272.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#180F76
RGBrgb(24, 15, 118)
HSLhsl(245, 77%, 26%)
HSVhsv(245, 87%, 46%)
CMYKcmyk(79.7%, 87.3%, 0%, 53.7%)
CIE-LABlab(14.64, 39.13, -55.47)
CIE-LCHlch(14.64, 67.89, 305.20°)
OKLaboklab(28.16% 0.0079 -0.1604)
OKLCHoklch(28.16% 0.161 272.8)
XYZxyz(3.8164, 1.8434, 17.2907)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F76 #6D760F
analogous
#0F3976 #180F76 #4B0F76
triadic
#180F76 #76180F #0F7618
tetradic
#180F76 #760F39 #6D760F #0F764B
square
#180F76 #760F39 #6D760F #0F764B
split-complementary
#180F76 #764B0F #39760F
monochromatic
#06031B #0D0840 #180F76 #2316AC #2E1DE2

Accessibility & contrast

On white

15.34
#180F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#180F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F76
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F76#FFFFFF#000000##FFFFFF
##180F761.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #180f76;
/* rgb */ color: rgb(24, 15, 118);
/* oklch */ color: oklch(28.2% 0.161 272.8);
Tailwind
colors: {
  custom: {
    50: '#68519f',
    500: '#180f76',
    950: '#000000',
  },
}
SCSS
$custom: #180f76;
$custom-light: #68519f;
$custom-dark: #000000;
JSON
{
  "hex": "#180f76",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 245.243,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2816,
    "c": 0.16064,
    "h": 272.8
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#180F76
secondary
#A3AD33
accent
#F434E3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #180F76

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

Preview Lab → · Contrast checker → · Palette generator →

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