#182E71#182E71

#182E71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.119 H 266.1°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#182E71
RGBrgb(24, 46, 113)
HSLhsl(225, 65%, 27%)
HSVhsv(225, 79%, 44%)
CMYKcmyk(78.8%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.36, 17.60, -41.21)
CIE-LCHlch(21.36, 44.81, 293.12°)
OKLaboklab(32.85% -0.0081 -0.1189)
OKLCHoklch(32.85% 0.119 266.1)
XYZxyz(4.3333, 3.3400, 16.0359)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E71 #715B18
analogous
#185B71 #182E71 #2F1871
triadic
#182E71 #71182E #2E7118
tetradic
#182E71 #71185B #715B18 #18712F
square
#182E71 #71185B #715B18 #18712F
split-complementary
#182E71 #712F18 #5B7118
monochromatic
#050A19 #0D193F #182E71 #2343A3 #3059D3

Accessibility & contrast

On white

12.59
#182E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E71
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E71#FFFFFF#000000##FFFFFF
##182E711.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182e71;
/* rgb */ color: rgb(24, 46, 113);
/* oklch */ color: oklch(32.9% 0.119 266.1);
Tailwind
colors: {
  custom: {
    50: '#64669a',
    500: '#182e71',
    950: '#000000',
  },
}
SCSS
$custom: #182e71;
$custom-light: #64669a;
$custom-dark: #000000;
JSON
{
  "hex": "#182e71",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 225.169,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32854,
    "c": 0.11915,
    "h": 266.1
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#182E71
secondary
#A68D3E
accent
#BE40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182E71

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

Preview Lab → · Contrast checker → · Palette generator →

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