#183271#183271

#183271 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.114 H 264.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#183271
RGBrgb(24, 50, 113)
HSLhsl(222, 65%, 27%)
HSVhsv(222, 79%, 44%)
CMYKcmyk(78.8%, 55.8%, 0%, 55.7%)
CIE-LABlab(22.54, 14.72, -39.29)
CIE-LCHlch(22.54, 41.96, 290.54°)
OKLaboklab(33.75% -0.0114 -0.1132)
OKLCHoklch(33.75% 0.114 264.3)
XYZxyz(4.4969, 3.6672, 16.0904)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183271 #715718
analogous
#185F71 #183271 #2B1871
triadic
#183271 #711832 #327118
tetradic
#183271 #71185F #715718 #18712B
square
#183271 #71185F #715718 #18712B
split-complementary
#183271 #712B18 #5F7118
monochromatic
#050B19 #0D1C3F #183271 #2348A3 #3060D3

Accessibility & contrast

On white

12.11
#183271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#183271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183271
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183271#FFFFFF#000000##FFFFFF
##1832711.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183271;
/* rgb */ color: rgb(24, 50, 113);
/* oklch */ color: oklch(33.7% 0.114 264.3);
Tailwind
colors: {
  custom: {
    50: '#63699a',
    500: '#183271',
    950: '#000000',
  },
}
SCSS
$custom: #183271;
$custom-light: #63699a;
$custom-dark: #000000;
JSON
{
  "hex": "#183271",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 222.472,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33746,
    "c": 0.11373,
    "h": 264.3
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #183271

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

Preview Lab → · Contrast checker → · Palette generator →

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