#182F7B#182F7B

#182F7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.132 H 266.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#182F7B
RGBrgb(24, 47, 123)
HSLhsl(226, 67%, 29%)
HSVhsv(226, 80%, 48%)
CMYKcmyk(80.5%, 61.8%, 0%, 51.8%)
CIE-LABlab(22.50, 20.98, -45.73)
CIE-LCHlch(22.50, 50.31, 294.64°)
OKLaboklab(33.98% -0.0084 -0.1321)
OKLCHoklch(33.98% 0.132 266.3)
XYZxyz(4.9671, 3.6567, 19.1791)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F7B #7B6418
analogous
#18617B #182F7B #33187B
triadic
#182F7B #7B182F #2F7B18
tetradic
#182F7B #7B1861 #7B6418 #187B33
square
#182F7B #7B1861 #7B6418 #187B33
split-complementary
#182F7B #7B3318 #617B18
monochromatic
#050A1A #0E1B48 #182F7B #2243AE #365BD8

Accessibility & contrast

On white

12.13
#182F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#182F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F7B
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F7B#FFFFFF#000000##FFFFFF
##182F7B1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182f7b;
/* rgb */ color: rgb(24, 47, 123);
/* oklch */ color: oklch(34.0% 0.132 266.3);
Tailwind
colors: {
  custom: {
    50: '#6667a2',
    500: '#182f7b',
    950: '#000000',
  },
}
SCSS
$custom: #182f7b;
$custom-light: #6667a2;
$custom-dark: #000000;
JSON
{
  "hex": "#182f7b",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 226.061,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3398,
    "c": 0.1324,
    "h": 266.3
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#182F7B
secondary
#B0963F
accent
#C23EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #182F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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