#182048#182048

#182048 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.075 H 271.8°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#182048
RGBrgb(24, 32, 72)
HSLhsl(230, 50%, 19%)
HSVhsv(230, 67%, 28%)
CMYKcmyk(66.7%, 55.6%, 0%, 71.8%)
CIE-LABlab(13.80, 11.03, -26.18)
CIE-LCHlch(13.80, 28.41, 292.84°)
OKLaboklab(26.1% 0.0023 -0.0749)
OKLCHoklch(26.1% 0.075 271.8)
XYZxyz(2.0625, 1.6949, 6.3481)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182048 #484018
analogous
#183848 #182048 #281848
triadic
#182048 #481820 #204818
tetradic
#182048 #481838 #484018 #184828
square
#182048 #481838 #484018 #184828
split-complementary
#182048 #482818 #384818
monochromatic
#080A17 #090C1A #182048 #273476 #3749A4

Accessibility & contrast

On white

15.68
#182048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#182048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182048
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182048#FFFFFF#000000##FFFFFF
##1820481.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2549
Deuteranopia (green-blind)
#032147
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #182048;
/* rgb */ color: rgb(24, 32, 72);
/* oklch */ color: oklch(26.1% 0.075 271.8);
Tailwind
colors: {
  custom: {
    50: '#5a5b7b',
    500: '#182048',
    950: '#000000',
  },
}
SCSS
$custom: #182048;
$custom-light: #5a5b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#182048",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26102,
    "c": 0.07493,
    "h": 271.8
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#182048
secondary
#7F743D
accent
#C24EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #182048

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

Preview Lab → · Contrast checker → · Palette generator →

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