#180F68#180F68

#180F68 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.4% C 0.143 H 274.8°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#180F68
RGBrgb(24, 15, 104)
HSLhsl(246, 75%, 23%)
HSVhsv(246, 86%, 41%)
CMYKcmyk(76.9%, 85.6%, 0%, 59.2%)
CIE-LABlab(12.83, 34.55, -49.35)
CIE-LCHlch(12.83, 60.24, 304.99°)
OKLaboklab(26.38% 0.012 -0.1427)
OKLCHoklch(26.38% 0.143 274.8)
XYZxyz(3.0454, 1.5350, 13.2298)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F68 #5F680F
analogous
#0F3268 #180F68 #440F68
triadic
#180F68 #68180F #0F6818
tetradic
#180F68 #680F32 #5F680F #0F6844
square
#180F68 #680F32 #5F680F #0F6844
split-complementary
#180F68 #68440F #32680F
monochromatic
#06041B #0C0733 #180F68 #24179D #311ED3

Accessibility & contrast

On white

16.07
#180F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#180F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F68
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F68#FFFFFF#000000##FFFFFF
##180F681.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180f68;
/* rgb */ color: rgb(24, 15, 104);
/* oklch */ color: oklch(26.4% 0.143 274.8);
Tailwind
colors: {
  custom: {
    50: '#645094',
    500: '#180f68',
    950: '#000000',
  },
}
SCSS
$custom: #180f68;
$custom-light: #645094;
$custom-dark: #000000;
JSON
{
  "hex": "#180f68",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 246.067,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26384,
    "c": 0.14322,
    "h": 274.8
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#180F68
secondary
#95A132
accent
#F136DE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #180F68

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

Preview Lab → · Contrast checker → · Palette generator →

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