#182F71#182F71

#182F71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.118 H 265.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#182F71
RGBrgb(24, 47, 113)
HSLhsl(224, 65%, 27%)
HSVhsv(224, 79%, 44%)
CMYKcmyk(78.8%, 58.4%, 0%, 55.7%)
CIE-LABlab(21.65, 16.88, -40.73)
CIE-LCHlch(21.65, 44.09, 292.51°)
OKLaboklab(33.07% -0.0089 -0.1175)
OKLCHoklch(33.07% 0.118 265.7)
XYZxyz(4.3728, 3.4190, 16.0491)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F71 #715A18
analogous
#185C71 #182F71 #2D1871
triadic
#182F71 #71182F #2F7118
tetradic
#182F71 #71185C #715A18 #18712D
square
#182F71 #71185C #715A18 #18712D
split-complementary
#182F71 #712D18 #5C7118
monochromatic
#050A19 #0D1A3F #182F71 #2344A3 #305AD3

Accessibility & contrast

On white

12.47
#182F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F71
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F71#FFFFFF#000000##FFFFFF
##182F711.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182f71;
/* rgb */ color: rgb(24, 47, 113);
/* oklch */ color: oklch(33.1% 0.118 265.7);
Tailwind
colors: {
  custom: {
    50: '#64679a',
    500: '#182f71',
    950: '#000000',
  },
}
SCSS
$custom: #182f71;
$custom-light: #64679a;
$custom-dark: #000000;
JSON
{
  "hex": "#182f71",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 224.494,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.1178,
    "h": 265.7
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#182F71
secondary
#A68C3E
accent
#BD40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #182F71

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

Preview Lab → · Contrast checker → · Palette generator →

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