#182B7B#182B7B

#182B7B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.138 H 267.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#182B7B
RGBrgb(24, 43, 123)
HSLhsl(228, 67%, 29%)
HSVhsv(228, 80%, 48%)
CMYKcmyk(80.5%, 65%, 0%, 51.8%)
CIE-LABlab(21.40, 23.79, -47.53)
CIE-LCHlch(21.40, 53.15, 296.59°)
OKLaboklab(33.16% -0.0057 -0.1375)
OKLCHoklch(33.16% 0.138 267.6)
XYZxyz(4.8145, 3.3515, 19.1282)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B7B #7B6818
analogous
#185D7B #182B7B #37187B
triadic
#182B7B #7B182B #2B7B18
tetradic
#182B7B #7B185D #7B6818 #187B37
square
#182B7B #7B185D #7B6818 #187B37
split-complementary
#182B7B #7B3718 #5D7B18
monochromatic
#05091A #0E1948 #182B7B #223DAE #3655D8

Accessibility & contrast

On white

12.57
#182B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B7B
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B7B#FFFFFF#000000##FFFFFF
##182B7B1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182b7b;
/* rgb */ color: rgb(24, 43, 123);
/* oklch */ color: oklch(33.2% 0.138 267.6);
Tailwind
colors: {
  custom: {
    50: '#6764a2',
    500: '#182b7b',
    950: '#000000',
  },
}
SCSS
$custom: #182b7b;
$custom-light: #6764a2;
$custom-dark: #000000;
JSON
{
  "hex": "#182b7b",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 228.485,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.13759,
    "h": 267.6
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#182B7B
secondary
#B09A3F
accent
#C93EEA
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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