#182F72#182F72

#182F72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.119 H 265.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#182F72
RGBrgb(24, 47, 114)
HSLhsl(225, 65%, 27%)
HSVhsv(225, 79%, 45%)
CMYKcmyk(78.9%, 58.8%, 0%, 55.3%)
CIE-LABlab(21.73, 17.29, -41.24)
CIE-LCHlch(21.73, 44.72, 292.75°)
OKLaboklab(33.16% -0.0088 -0.1189)
OKLCHoklch(33.16% 0.119 265.8)
XYZxyz(4.4294, 3.4416, 16.3472)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F72 #725B18
analogous
#185C72 #182F72 #2E1872
triadic
#182F72 #72182F #2F7218
tetradic
#182F72 #72185C #725B18 #18722E
square
#182F72 #72185C #725B18 #18722E
split-complementary
#182F72 #722E18 #5C7218
monochromatic
#050A19 #0D1A3F #182F72 #2344A5 #315AD4

Accessibility & contrast

On white

12.44
#182F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F72
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F72#FFFFFF#000000##FFFFFF
##182F721.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182f72;
/* rgb */ color: rgb(24, 47, 114);
/* oklch */ color: oklch(33.2% 0.119 265.8);
Tailwind
colors: {
  custom: {
    50: '#64679b',
    500: '#182f72',
    950: '#000000',
  },
}
SCSS
$custom: #182f72;
$custom-light: #64679b;
$custom-dark: #000000;
JSON
{
  "hex": "#182f72",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 224.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.11928,
    "h": 265.8
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #182F72

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

Preview Lab → · Contrast checker → · Palette generator →

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