#182E7A#182E7A

#182E7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.132 H 266.6°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#182E7A
RGBrgb(24, 46, 122)
HSLhsl(227, 67%, 29%)
HSVhsv(227, 80%, 48%)
CMYKcmyk(80.3%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.13, 21.28, -45.69)
CIE-LCHlch(22.13, 50.41, 294.97°)
OKLaboklab(33.68% -0.0078 -0.132)
OKLCHoklch(33.68% 0.132 266.6)
XYZxyz(4.8653, 3.5528, 18.8379)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E7A #7A6418
analogous
#185F7A #182E7A #33187A
triadic
#182E7A #7A182E #2E7A18
tetradic
#182E7A #7A185F #7A6418 #187A33
square
#182E7A #7A185F #7A6418 #187A33
split-complementary
#182E7A #7A3318 #5F7A18
monochromatic
#050A1A #0E1B47 #182E7A #2241AD #355AD7

Accessibility & contrast

On white

12.28
#182E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#182E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E7A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E7A#FFFFFF#000000##FFFFFF
##182E7A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182e7a;
/* rgb */ color: rgb(24, 46, 122);
/* oklch */ color: oklch(33.7% 0.132 266.6);
Tailwind
colors: {
  custom: {
    50: '#6666a1',
    500: '#182e7a',
    950: '#000000',
  },
}
SCSS
$custom: #182e7a;
$custom-light: #6666a1;
$custom-dark: #000000;
JSON
{
  "hex": "#182e7a",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 226.531,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33678,
    "c": 0.13228,
    "h": 266.6
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#182E7A
secondary
#AF963F
accent
#C33EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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