#182D6D#182D6D

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

Color values

HEX#182D6D
RGBrgb(24, 45, 109)
HSLhsl(225, 64%, 26%)
HSVhsv(225, 78%, 43%)
CMYKcmyk(78%, 58.7%, 0%, 57.3%)
CIE-LABlab(20.73, 16.67, -39.65)
CIE-LCHlch(20.73, 43.01, 292.80°)
OKLaboklab(32.28% -0.0075 -0.1143)
OKLCHoklch(32.28% 0.115 266.2)
XYZxyz(4.0744, 3.1746, 14.8631)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D6D #6D5818
analogous
#18576D #182D6D #2D186D
triadic
#182D6D #6D182D #2D6D18
tetradic
#182D6D #6D1857 #6D5818 #186D2D
square
#182D6D #6D1857 #6D5818 #186D2D
split-complementary
#182D6D #6D2D18 #576D18
monochromatic
#060A19 #0D183B #182D6D #23429F #2E57D1

Accessibility & contrast

On white

12.84
#182D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D6D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D6D#FFFFFF#000000##FFFFFF
##182D6D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182d6d;
/* rgb */ color: rgb(24, 45, 109);
/* oklch */ color: oklch(32.3% 0.115 266.2);
Tailwind
colors: {
  custom: {
    50: '#636597',
    500: '#182d6d',
    950: '#000000',
  },
}
SCSS
$custom: #182d6d;
$custom-light: #636597;
$custom-dark: #000000;
JSON
{
  "hex": "#182d6d",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 225.176,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32278,
    "c": 0.11456,
    "h": 266.2
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#182D6D
secondary
#A38A3E
accent
#BE41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #182D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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