#181C65#181C65

#181C65 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.0% C 0.125 H 272.6°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#181C65
RGBrgb(24, 28, 101)
HSLhsl(237, 62%, 25%)
HSVhsv(237, 76%, 40%)
CMYKcmyk(76.2%, 72.3%, 0%, 60.4%)
CIE-LABlab(15.30, 25.54, -43.30)
CIE-LCHlch(15.30, 50.27, 300.53°)
OKLaboklab(28.03% 0.0057 -0.1252)
OKLCHoklch(28.03% 0.125 272.6)
XYZxyz(3.1401, 1.9640, 12.5230)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C65 #656118
analogous
#184365 #181C65 #3B1865
triadic
#181C65 #65181C #1C6518
tetradic
#181C65 #651843 #656118 #18653B
square
#181C65 #651843 #656118 #18653B
split-complementary
#181C65 #653B18 #436518
monochromatic
#060719 #0C0E34 #181C65 #242A96 #3037C8

Accessibility & contrast

On white

15.08
#181C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#181C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C65
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C65#FFFFFF#000000##FFFFFF
##181C651.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181c65;
/* rgb */ color: rgb(24, 28, 101);
/* oklch */ color: oklch(28.0% 0.125 272.6);
Tailwind
colors: {
  custom: {
    50: '#625892',
    500: '#181c65',
    950: '#000000',
  },
}
SCSS
$custom: #181c65;
$custom-light: #625892;
$custom-dark: #000000;
JSON
{
  "hex": "#181c65",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 236.883,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28032,
    "c": 0.12533,
    "h": 272.6
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#181C65
secondary
#9B963E
accent
#DC43E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181C65

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

Preview Lab → · Contrast checker → · Palette generator →

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