#182572#182572

#182572 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.132 H 269.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#182572
RGBrgb(24, 37, 114)
HSLhsl(231, 65%, 27%)
HSVhsv(231, 79%, 45%)
CMYKcmyk(78.9%, 67.5%, 0%, 55.3%)
CIE-LABlab(18.94, 24.40, -45.81)
CIE-LCHlch(18.94, 51.90, 298.05°)
OKLaboklab(31.08% -0.0015 -0.1325)
OKLCHoklch(31.08% 0.132 269.4)
XYZxyz(4.0745, 2.7318, 16.2289)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182572 #726518
analogous
#185272 #182572 #381872
triadic
#182572 #721825 #257218
tetradic
#182572 #721852 #726518 #187238
square
#182572 #721852 #726518 #187238
split-complementary
#182572 #723818 #527218
monochromatic
#050819 #0D153F #182572 #2335A5 #3148D4

Accessibility & contrast

On white

13.58
#182572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182572
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182572#FFFFFF#000000##FFFFFF
##1825721.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182572;
/* rgb */ color: rgb(24, 37, 114);
/* oklch */ color: oklch(31.1% 0.132 269.4);
Tailwind
colors: {
  custom: {
    50: '#655f9b',
    500: '#182572',
    950: '#000000',
  },
}
SCSS
$custom: #182572;
$custom-light: #655f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#182572",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 231.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31084,
    "c": 0.13249,
    "h": 269.4
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#182572
secondary
#A7983E
accent
#D040E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182572

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

Preview Lab → · Contrast checker → · Palette generator →

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