#182D6C#182D6C

#182D6C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.113 H 266.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#182D6C
RGBrgb(24, 45, 108)
HSLhsl(225, 64%, 26%)
HSVhsv(225, 78%, 42%)
CMYKcmyk(77.8%, 58.3%, 0%, 57.6%)
CIE-LABlab(20.65, 16.26, -39.14)
CIE-LCHlch(20.65, 42.38, 292.56°)
OKLaboklab(32.19% -0.0076 -0.1128)
OKLCHoklch(32.19% 0.113 266.2)
XYZxyz(4.0209, 3.1532, 14.5812)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D6C #6C5718
analogous
#18576C #182D6C #2D186C
triadic
#182D6C #6C182D #2D6C18
tetradic
#182D6C #6C1857 #6C5718 #186C2D
square
#182D6C #6C1857 #6C5718 #186C2D
split-complementary
#182D6C #6C2D18 #576C18
monochromatic
#060A19 #0D183A #182D6C #23429E #2E57D0

Accessibility & contrast

On white

12.88
#182D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D6C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D6C#FFFFFF#000000##FFFFFF
##182D6C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182d6c;
/* rgb */ color: rgb(24, 45, 108);
/* oklch */ color: oklch(32.2% 0.113 266.2);
Tailwind
colors: {
  custom: {
    50: '#626597',
    500: '#182d6c',
    950: '#000000',
  },
}
SCSS
$custom: #182d6c;
$custom-light: #626597;
$custom-dark: #000000;
JSON
{
  "hex": "#182d6c",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 225,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32189,
    "c": 0.11305,
    "h": 266.2
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#182D6C
secondary
#A2893E
accent
#BD41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #182D6C

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

Preview Lab → · Contrast checker → · Palette generator →

#182D6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva