#182972#182972

#182972 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.127 H 268.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#182972
RGBrgb(24, 41, 114)
HSLhsl(229, 65%, 27%)
HSVhsv(229, 79%, 45%)
CMYKcmyk(78.9%, 64%, 0%, 55.3%)
CIE-LABlab(20.02, 21.58, -44.03)
CIE-LCHlch(20.02, 49.04, 296.12°)
OKLaboklab(31.89% -0.0042 -0.1272)
OKLCHoklch(31.89% 0.127 268.1)
XYZxyz(4.2058, 2.9945, 16.2727)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182972 #726118
analogous
#185672 #182972 #341872
triadic
#182972 #721829 #297218
tetradic
#182972 #721856 #726118 #187234
square
#182972 #721856 #726118 #187234
split-complementary
#182972 #723418 #567218
monochromatic
#050919 #0D173F #182972 #233BA5 #3150D4

Accessibility & contrast

On white

13.13
#182972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182972
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182972#FFFFFF#000000##FFFFFF
##1829721.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182972;
/* rgb */ color: rgb(24, 41, 114);
/* oklch */ color: oklch(31.9% 0.127 268.1);
Tailwind
colors: {
  custom: {
    50: '#64629b',
    500: '#182972',
    950: '#000000',
  },
}
SCSS
$custom: #182972;
$custom-light: #64629b;
$custom-dark: #000000;
JSON
{
  "hex": "#182972",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 228.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31885,
    "c": 0.1273,
    "h": 268.1
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#182972
secondary
#A7943E
accent
#C840E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182972

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

Preview Lab → · Contrast checker → · Palette generator →

#182972 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva