#182E7E#182E7E

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

Color values

HEX#182E7E
RGBrgb(24, 46, 126)
HSLhsl(227, 68%, 29%)
HSVhsv(227, 81%, 49%)
CMYKcmyk(81%, 63.5%, 0%, 50.6%)
CIE-LABlab(22.49, 22.90, -47.64)
CIE-LCHlch(22.49, 52.86, 295.67°)
OKLaboklab(34.06% -0.0077 -0.1378)
OKLCHoklch(34.06% 0.138 266.8)
XYZxyz(5.1183, 3.6540, 20.1702)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E7E #7E6818
analogous
#18617E #182E7E #35187E
triadic
#182E7E #7E182E #2E7E18
tetradic
#182E7E #7E1861 #7E6818 #187E35
square
#182E7E #7E1861 #7E6818 #187E35
split-complementary
#182E7E #7E3518 #617E18
monochromatic
#05091A #0E1B4B #182E7E #2241B1 #375AD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##182E7E#FFFFFF#000000##FFFFFF
##182E7E1.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)
#003B81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182e7e;
/* rgb */ color: rgb(24, 46, 126);
/* oklch */ color: oklch(34.1% 0.138 266.8);
Tailwind
colors: {
  custom: {
    50: '#6766a4',
    500: '#182e7e',
    950: '#000000',
  },
}
SCSS
$custom: #182e7e;
$custom-light: #6766a4;
$custom-dark: #000000;
JSON
{
  "hex": "#182e7e",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 227.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34056,
    "c": 0.13798,
    "h": 266.8
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #182E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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