#181A67#181A67

#181A67 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.131 H 272.9°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#181A67
RGBrgb(24, 26, 103)
HSLhsl(238, 62%, 25%)
HSVhsv(238, 77%, 40%)
CMYKcmyk(76.7%, 74.8%, 0%, 59.6%)
CIE-LABlab(15.02, 27.64, -45.08)
CIE-LCHlch(15.02, 52.88, 301.52°)
OKLaboklab(27.89% 0.0067 -0.1304)
OKLCHoklch(27.89% 0.131 272.9)
XYZxyz(3.1934, 1.9119, 13.0301)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A67 #676518
analogous
#184267 #181A67 #3E1867
triadic
#181A67 #67181A #1A6718
tetradic
#181A67 #671842 #676518 #18673E
square
#181A67 #671842 #676518 #18673E
split-complementary
#181A67 #673E18 #426718
monochromatic
#060619 #0C0D35 #181A67 #242799 #2F33CA

Accessibility & contrast

On white

15.19
#181A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A67
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A67#FFFFFF#000000##FFFFFF
##181A671.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181a67;
/* rgb */ color: rgb(24, 26, 103);
/* oklch */ color: oklch(27.9% 0.131 272.9);
Tailwind
colors: {
  custom: {
    50: '#635793',
    500: '#181a67',
    950: '#000000',
  },
}
SCSS
$custom: #181a67;
$custom-light: #635793;
$custom-dark: #000000;
JSON
{
  "hex": "#181a67",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 238.481,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27895,
    "c": 0.13056,
    "h": 272.9
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#181A67
secondary
#9D9B3E
accent
#E143E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181A67

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

Preview Lab → · Contrast checker → · Palette generator →

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