#182772#182772

#182772 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.130 H 268.7°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#182772
RGBrgb(24, 39, 114)
HSLhsl(230, 65%, 27%)
HSVhsv(230, 79%, 45%)
CMYKcmyk(78.9%, 65.8%, 0%, 55.3%)
CIE-LABlab(19.47, 23.00, -44.93)
CIE-LCHlch(19.47, 50.47, 297.11°)
OKLaboklab(31.48% -0.0028 -0.1299)
OKLCHoklch(31.48% 0.13 268.7)
XYZxyz(4.1384, 2.8597, 16.2502)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182772 #726318
analogous
#185472 #182772 #361872
triadic
#182772 #721827 #277218
tetradic
#182772 #721854 #726318 #187236
square
#182772 #721854 #726318 #187236
split-complementary
#182772 #723618 #547218
monochromatic
#050919 #0D163F #182772 #2338A5 #314CD4

Accessibility & contrast

On white

13.36
#182772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#182772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182772
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182772#FFFFFF#000000##FFFFFF
##1827721.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182772;
/* rgb */ color: rgb(24, 39, 114);
/* oklch */ color: oklch(31.5% 0.130 268.7);
Tailwind
colors: {
  custom: {
    50: '#65619b',
    500: '#182772',
    950: '#000000',
  },
}
SCSS
$custom: #182772;
$custom-light: #65619b;
$custom-dark: #000000;
JSON
{
  "hex": "#182772",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 230,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31479,
    "c": 0.12991,
    "h": 268.7
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#182772
secondary
#A7963E
accent
#CC40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182772

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

Preview Lab → · Contrast checker → · Palette generator →

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