#182E7D#182E7D

#182E7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.137 H 266.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#182E7D
RGBrgb(24, 46, 125)
HSLhsl(227, 68%, 29%)
HSVhsv(227, 81%, 49%)
CMYKcmyk(80.8%, 63.2%, 0%, 51%)
CIE-LABlab(22.40, 22.49, -47.16)
CIE-LCHlch(22.40, 52.25, 295.50°)
OKLaboklab(33.96% -0.0077 -0.1363)
OKLCHoklch(33.96% 0.137 266.8)
XYZxyz(5.0541, 3.6283, 19.8320)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E7D #7D6718
analogous
#18617D #182E7D #35187D
triadic
#182E7D #7D182E #2E7D18
tetradic
#182E7D #7D1861 #7D6718 #187D35
square
#182E7D #7D1861 #7D6718 #187D35
split-complementary
#182E7D #7D3518 #617D18
monochromatic
#05091A #0E1B4A #182E7D #2241B0 #375AD9

Accessibility & contrast

On white

12.17
#182E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E7D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E7D#FFFFFF#000000##FFFFFF
##182E7D1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182e7d;
/* rgb */ color: rgb(24, 46, 125);
/* oklch */ color: oklch(34.0% 0.137 266.8);
Tailwind
colors: {
  custom: {
    50: '#6766a3',
    500: '#182e7d',
    950: '#000000',
  },
}
SCSS
$custom: #182e7d;
$custom-light: #6766a3;
$custom-dark: #000000;
JSON
{
  "hex": "#182e7d",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 226.931,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33961,
    "c": 0.13656,
    "h": 266.8
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#182E7D
secondary
#B2993F
accent
#C53DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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