#181C69#181C69

#181C69 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.131 H 272.3°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#181C69
RGBrgb(24, 28, 105)
HSLhsl(237, 63%, 25%)
HSVhsv(237, 77%, 41%)
CMYKcmyk(77.1%, 73.3%, 0%, 58.8%)
CIE-LABlab(15.72, 27.07, -45.24)
CIE-LCHlch(15.72, 52.72, 300.90°)
OKLaboklab(28.46% 0.0052 -0.1309)
OKLCHoklch(28.46% 0.131 272.3)
XYZxyz(3.3409, 2.0443, 13.5804)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C69 #696518
analogous
#184469 #181C69 #3C1869
triadic
#181C69 #69181C #1C6918
tetradic
#181C69 #691844 #696518 #18693C
square
#181C69 #691844 #696518 #18693C
split-complementary
#181C69 #693C18 #446918
monochromatic
#060719 #0D0F37 #181C69 #23299B #2F37CD

Accessibility & contrast

On white

14.90
#181C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#181C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C69
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C69#FFFFFF#000000##FFFFFF
##181C691.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181c69;
/* rgb */ color: rgb(24, 28, 105);
/* oklch */ color: oklch(28.5% 0.131 272.3);
Tailwind
colors: {
  custom: {
    50: '#635895',
    500: '#181c69',
    950: '#000000',
  },
}
SCSS
$custom: #181c69;
$custom-light: #635895;
$custom-dark: #000000;
JSON
{
  "hex": "#181c69",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 237.037,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28463,
    "c": 0.13096,
    "h": 272.3
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#181C69
secondary
#9F9A3E
accent
#DE42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181C69

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

Preview Lab → · Contrast checker → · Palette generator →

#181C69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva