#180F63#180F63

#180F63 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.8% C 0.137 H 275.7°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#180F63
RGBrgb(24, 15, 99)
HSLhsl(246, 74%, 22%)
HSVhsv(246, 85%, 39%)
CMYKcmyk(75.8%, 84.8%, 0%, 61.2%)
CIE-LABlab(12.20, 32.86, -47.09)
CIE-LCHlch(12.20, 57.42, 304.91°)
OKLaboklab(25.76% 0.0135 -0.1361)
OKLCHoklch(25.76% 0.137 275.7)
XYZxyz(2.7989, 1.4364, 11.9317)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F63 #5A630F
analogous
#0F3063 #180F63 #420F63
triadic
#180F63 #63180F #0F6318
tetradic
#180F63 #630F30 #5A630F #0F6342
square
#180F63 #630F30 #5A630F #0F6342
split-complementary
#180F63 #63420F #30630F
monochromatic
#06041B #0B072E #180F63 #251798 #321FCD

Accessibility & contrast

On white

16.31
#180F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#180F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F63
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F63#FFFFFF#000000##FFFFFF
##180F631.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002365
Deuteranopia (green-blind)
#001C62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #180f63;
/* rgb */ color: rgb(24, 15, 99);
/* oklch */ color: oklch(25.8% 0.137 275.7);
Tailwind
colors: {
  custom: {
    50: '#635090',
    500: '#180f63',
    950: '#000000',
  },
}
SCSS
$custom: #180f63;
$custom-light: #635090;
$custom-dark: #000000;
JSON
{
  "hex": "#180f63",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 246.429,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25763,
    "c": 0.13681,
    "h": 275.7
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#180F63
secondary
#919C32
accent
#F037DD
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #180F63

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

Preview Lab → · Contrast checker → · Palette generator →

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