#182F76#182F76

#182F76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.125 H 266.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#182F76
RGBrgb(24, 47, 118)
HSLhsl(225, 66%, 28%)
HSVhsv(225, 80%, 46%)
CMYKcmyk(79.7%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.07, 18.94, -43.25)
CIE-LCHlch(22.07, 47.22, 293.64°)
OKLaboklab(33.52% -0.0086 -0.1249)
OKLCHoklch(33.52% 0.125 266.1)
XYZxyz(4.6621, 3.5347, 17.5726)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F76 #765F18
analogous
#185E76 #182F76 #301876
triadic
#182F76 #76182F #2F7618
tetradic
#182F76 #76185E #765F18 #187630
square
#182F76 #76185E #765F18 #187630
split-complementary
#182F76 #763018 #5E7618
monochromatic
#050A19 #0E1B43 #182F76 #2243A9 #335BD5

Accessibility & contrast

On white

12.30
#182F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F76
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F76#FFFFFF#000000##FFFFFF
##182F761.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182f76;
/* rgb */ color: rgb(24, 47, 118);
/* oklch */ color: oklch(33.5% 0.125 266.1);
Tailwind
colors: {
  custom: {
    50: '#65679e',
    500: '#182f76',
    950: '#000000',
  },
}
SCSS
$custom: #182f76;
$custom-light: #65679e;
$custom-dark: #000000;
JSON
{
  "hex": "#182f76",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 225.319,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33521,
    "c": 0.12516,
    "h": 266.1
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#182F76
secondary
#AB913F
accent
#BF3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #182F76

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

Preview Lab → · Contrast checker → · Palette generator →

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