#183272#183272

#183272 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.115 H 264.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#183272
RGBrgb(24, 50, 114)
HSLhsl(223, 65%, 27%)
HSVhsv(223, 79%, 45%)
CMYKcmyk(78.9%, 56.1%, 0%, 55.3%)
CIE-LABlab(22.62, 15.14, -39.80)
CIE-LCHlch(22.62, 42.59, 290.82°)
OKLaboklab(33.83% -0.0113 -0.1147)
OKLCHoklch(33.83% 0.115 264.4)
XYZxyz(4.5535, 3.6898, 16.3885)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183272 #725818
analogous
#185F72 #183272 #2B1872
triadic
#183272 #721832 #327218
tetradic
#183272 #72185F #725818 #18722B
square
#183272 #72185F #725818 #18722B
split-complementary
#183272 #722B18 #5F7218
monochromatic
#050B19 #0D1C3F #183272 #2348A5 #3160D4

Accessibility & contrast

On white

12.08
#183272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#183272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183272
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183272#FFFFFF#000000##FFFFFF
##1832721.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A74
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183272;
/* rgb */ color: rgb(24, 50, 114);
/* oklch */ color: oklch(33.8% 0.115 264.4);
Tailwind
colors: {
  custom: {
    50: '#64699b',
    500: '#183272',
    950: '#000000',
  },
}
SCSS
$custom: #183272;
$custom-light: #64699b;
$custom-dark: #000000;
JSON
{
  "hex": "#183272",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 222.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33831,
    "c": 0.11522,
    "h": 264.4
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#183272
secondary
#A7893E
accent
#B740E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183272

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

Preview Lab → · Contrast checker → · Palette generator →

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