#181C67#181C67

#181C67 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.128 H 272.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#181C67
RGBrgb(24, 28, 103)
HSLhsl(237, 62%, 25%)
HSVhsv(237, 77%, 40%)
CMYKcmyk(76.7%, 72.8%, 0%, 59.6%)
CIE-LABlab(15.51, 26.31, -44.28)
CIE-LCHlch(15.51, 51.50, 300.72°)
OKLaboklab(28.25% 0.0054 -0.128)
OKLCHoklch(28.25% 0.128 272.4)
XYZxyz(3.2393, 2.0036, 13.0454)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C67 #676318
analogous
#184467 #181C67 #3C1867
triadic
#181C67 #67181C #1C6718
tetradic
#181C67 #671844 #676318 #18673C
square
#181C67 #671844 #676318 #18673C
split-complementary
#181C67 #673C18 #446718
monochromatic
#060719 #0C0F35 #181C67 #242999 #2F37CA

Accessibility & contrast

On white

14.99
#181C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#181C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C67
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C67#FFFFFF#000000##FFFFFF
##181C671.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181c67;
/* rgb */ color: rgb(24, 28, 103);
/* oklch */ color: oklch(28.2% 0.128 272.4);
Tailwind
colors: {
  custom: {
    50: '#635893',
    500: '#181c67',
    950: '#000000',
  },
}
SCSS
$custom: #181c67;
$custom-light: #635893;
$custom-dark: #000000;
JSON
{
  "hex": "#181c67",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 236.962,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28247,
    "c": 0.12816,
    "h": 272.4
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#181C67
secondary
#9D983E
accent
#DD43E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181C67

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

Preview Lab → · Contrast checker → · Palette generator →

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