#182C7D#182C7D

#182C7D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.139 H 267.4°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#182C7D
RGBrgb(24, 44, 125)
HSLhsl(228, 68%, 29%)
HSVhsv(228, 81%, 49%)
CMYKcmyk(80.8%, 64.8%, 0%, 51%)
CIE-LABlab(21.86, 23.90, -48.05)
CIE-LCHlch(21.86, 53.67, 296.44°)
OKLaboklab(33.56% -0.0064 -0.139)
OKLCHoklch(33.56% 0.139 267.4)
XYZxyz(4.9778, 3.4757, 19.8066)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C7D #7D6918
analogous
#185F7D #182C7D #37187D
triadic
#182C7D #7D182C #2C7D18
tetradic
#182C7D #7D185F #7D6918 #187D37
square
#182C7D #7D185F #7D6918 #187D37
split-complementary
#182C7D #7D3718 #5F7D18
monochromatic
#05091A #0E1A4A #182C7D #223EB0 #3757D9

Accessibility & contrast

On white

12.39
#182C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C7D
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C7D#FFFFFF#000000##FFFFFF
##182C7D1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182c7d;
/* rgb */ color: rgb(24, 44, 125);
/* oklch */ color: oklch(33.6% 0.139 267.4);
Tailwind
colors: {
  custom: {
    50: '#6764a3',
    500: '#182c7d',
    950: '#000000',
  },
}
SCSS
$custom: #182c7d;
$custom-light: #6764a3;
$custom-dark: #000000;
JSON
{
  "hex": "#182c7d",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 228.119,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33556,
    "c": 0.13914,
    "h": 267.4
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#182C7D
secondary
#B29B3F
accent
#C83DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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