#182272#182272

#182272 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.136 H 270.2°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#182272
RGBrgb(24, 34, 114)
HSLhsl(233, 65%, 27%)
HSVhsv(233, 79%, 45%)
CMYKcmyk(78.9%, 70.2%, 0%, 55.3%)
CIE-LABlab(18.16, 26.48, -47.09)
CIE-LCHlch(18.16, 54.02, 299.35°)
OKLaboklab(30.51% 0.0004 -0.1362)
OKLCHoklch(30.51% 0.136 270.2)
XYZxyz(3.9849, 2.5527, 16.1990)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182272 #726818
analogous
#184F72 #182272 #3B1872
triadic
#182272 #721822 #227218
tetradic
#182272 #72184F #726818 #18723B
square
#182272 #72184F #726818 #18723B
split-complementary
#182272 #723B18 #4F7218
monochromatic
#050819 #0D133F #182272 #2331A5 #3143D4

Accessibility & contrast

On white

13.90
#182272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182272
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182272#FFFFFF#000000##FFFFFF
##1822721.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182272;
/* rgb */ color: rgb(24, 34, 114);
/* oklch */ color: oklch(30.5% 0.136 270.2);
Tailwind
colors: {
  custom: {
    50: '#655d9b',
    500: '#182272',
    950: '#000000',
  },
}
SCSS
$custom: #182272;
$custom-light: #655d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#182272",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 233.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.13624,
    "h": 270.2
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#182272
secondary
#A79C3E
accent
#D540E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182272

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

Preview Lab → · Contrast checker → · Palette generator →

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