#182C7B#182C7B

#182C7B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.136 H 267.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#182C7B
RGBrgb(24, 44, 123)
HSLhsl(228, 67%, 29%)
HSVhsv(228, 80%, 48%)
CMYKcmyk(80.5%, 64.2%, 0%, 51.8%)
CIE-LABlab(21.67, 23.09, -47.09)
CIE-LCHlch(21.67, 52.44, 296.13°)
OKLaboklab(33.36% -0.0064 -0.1361)
OKLCHoklch(33.36% 0.136 267.3)
XYZxyz(4.8513, 3.4251, 19.1405)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C7B #7B6718
analogous
#185E7B #182C7B #36187B
triadic
#182C7B #7B182C #2C7B18
tetradic
#182C7B #7B185E #7B6718 #187B36
square
#182C7B #7B185E #7B6718 #187B36
split-complementary
#182C7B #7B3618 #5E7B18
monochromatic
#05091A #0E1A48 #182C7B #223EAE #3656D8

Accessibility & contrast

On white

12.46
#182C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C7B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C7B#FFFFFF#000000##FFFFFF
##182C7B1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182c7b;
/* rgb */ color: rgb(24, 44, 123);
/* oklch */ color: oklch(33.4% 0.136 267.3);
Tailwind
colors: {
  custom: {
    50: '#6764a2',
    500: '#182c7b',
    950: '#000000',
  },
}
SCSS
$custom: #182c7b;
$custom-light: #6764a2;
$custom-dark: #000000;
JSON
{
  "hex": "#182c7b",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 227.879,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33363,
    "c": 0.1363,
    "h": 267.3
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#182C7B
secondary
#B0993F
accent
#C73EEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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