#180F67#180F67

#180F67 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.142 H 275.0°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#180F67
RGBrgb(24, 15, 103)
HSLhsl(246, 75%, 23%)
HSVhsv(246, 85%, 40%)
CMYKcmyk(76.7%, 85.4%, 0%, 59.6%)
CIE-LABlab(12.70, 34.21, -48.91)
CIE-LCHlch(12.70, 59.68, 304.97°)
OKLaboklab(26.26% 0.0123 -0.1414)
OKLCHoklch(26.26% 0.142 275)
XYZxyz(2.9949, 1.5148, 12.9639)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F67 #5E670F
analogous
#0F3267 #180F67 #440F67
triadic
#180F67 #67180F #0F6718
tetradic
#180F67 #670F32 #5E670F #0F6744
square
#180F67 #670F32 #5E670F #0F6744
split-complementary
#180F67 #67440F #32670F
monochromatic
#06041B #0C0732 #180F67 #24179C #311FD2

Accessibility & contrast

On white

16.12
#180F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#180F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F67
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F67#FFFFFF#000000##FFFFFF
##180F671.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002569
Deuteranopia (green-blind)
#001D66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #180f67;
/* rgb */ color: rgb(24, 15, 103);
/* oklch */ color: oklch(26.3% 0.142 275.0);
Tailwind
colors: {
  custom: {
    50: '#645093',
    500: '#180f67',
    950: '#000000',
  },
}
SCSS
$custom: #180f67;
$custom-light: #645093;
$custom-dark: #000000;
JSON
{
  "hex": "#180f67",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 246.136,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26259,
    "c": 0.14195,
    "h": 275
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#180F67
secondary
#94A032
accent
#F137DE
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #180F67

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

Preview Lab → · Contrast checker → · Palette generator →

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