#182041#182041

#182041 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.063 H 271.1°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#182041
RGBrgb(24, 32, 65)
HSLhsl(228, 46%, 17%)
HSVhsv(228, 63%, 25%)
CMYKcmyk(63.1%, 50.8%, 0%, 74.5%)
CIE-LABlab(13.28, 8.20, -22.14)
CIE-LCHlch(13.28, 23.61, 290.34°)
OKLaboklab(25.55% 0.0012 -0.063)
OKLCHoklch(25.55% 0.063 271.1)
XYZxyz(1.8470, 1.6087, 5.2132)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182041 #413918
analogous
#183441 #182041 #251841
triadic
#182041 #411820 #204118
tetradic
#182041 #411834 #413918 #184125
square
#182041 #411834 #413918 #184125
split-complementary
#182041 #412518 #344118
monochromatic
#080B16 #080B16 #182041 #29366E #394C9A

Accessibility & contrast

On white

15.89
#182041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#182041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182041
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182041#FFFFFF#000000##FFFFFF
##1820411.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112442
Deuteranopia (green-blind)
#0C2040
Tritanopia (blue-blind)
#03272D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #182041;
/* rgb */ color: rgb(24, 32, 65);
/* oklch */ color: oklch(25.5% 0.063 271.1);
Tailwind
colors: {
  custom: {
    50: '#595b76',
    500: '#182041',
    950: '#000000',
  },
}
SCSS
$custom: #182041;
$custom-light: #595b76;
$custom-dark: #000000;
JSON
{
  "hex": "#182041",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 228.293,
    "s": 46.067,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25545,
    "c": 0.06302,
    "h": 271.1
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#182041
secondary
#786C3D
accent
#BC52D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #182041

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

Preview Lab → · Contrast checker → · Palette generator →

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