#182E76#182E76

#182E76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.127 H 266.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#182E76
RGBrgb(24, 46, 118)
HSLhsl(226, 66%, 28%)
HSVhsv(226, 80%, 46%)
CMYKcmyk(79.7%, 61%, 0%, 53.7%)
CIE-LABlab(21.78, 19.65, -43.72)
CIE-LCHlch(21.78, 47.93, 294.20°)
OKLaboklab(33.31% -0.0079 -0.1262)
OKLCHoklch(33.31% 0.127 266.4)
XYZxyz(4.6226, 3.4557, 17.5594)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E76 #766018
analogous
#185D76 #182E76 #311876
triadic
#182E76 #76182E #2E7618
tetradic
#182E76 #76185D #766018 #187631
square
#182E76 #76185D #766018 #187631
split-complementary
#182E76 #763118 #5D7618
monochromatic
#050A19 #0E1A43 #182E76 #2242A9 #3359D5

Accessibility & contrast

On white

12.42
#182E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E76
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E76#FFFFFF#000000##FFFFFF
##182E761.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182e76;
/* rgb */ color: rgb(24, 46, 118);
/* oklch */ color: oklch(33.3% 0.127 266.4);
Tailwind
colors: {
  custom: {
    50: '#65669e',
    500: '#182e76',
    950: '#000000',
  },
}
SCSS
$custom: #182e76;
$custom-light: #65669e;
$custom-dark: #000000;
JSON
{
  "hex": "#182e76",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 225.957,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33307,
    "c": 0.1265,
    "h": 266.4
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#182E76
secondary
#AB923F
accent
#C13FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182E76

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

Preview Lab → · Contrast checker → · Palette generator →

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