#182056#182056

#182056 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.098 H 271.9°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#182056
RGBrgb(24, 32, 86)
HSLhsl(232, 56%, 22%)
HSVhsv(232, 72%, 34%)
CMYKcmyk(72.1%, 62.8%, 0%, 66.3%)
CIE-LABlab(14.95, 16.73, -33.87)
CIE-LCHlch(14.95, 37.78, 296.28°)
OKLaboklab(27.33% 0.0033 -0.0975)
OKLCHoklch(27.33% 0.098 271.9)
XYZxyz(2.5724, 1.8989, 9.0333)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182056 #564E18
analogous
#183F56 #182056 #2F1856
triadic
#182056 #561820 #205618
tetradic
#182056 #56183F #564E18 #18562F
square
#182056 #56183F #564E18 #18562F
split-complementary
#182056 #562F18 #3F5618
monochromatic
#070918 #0B0E26 #182056 #253286 #3344B6

Accessibility & contrast

On white

15.22
#182056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#182056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182056
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182056#FFFFFF#000000##FFFFFF
##1820561.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #182056;
/* rgb */ color: rgb(24, 32, 86);
/* oklch */ color: oklch(27.3% 0.098 271.9);
Tailwind
colors: {
  custom: {
    50: '#5e5b86',
    500: '#182056',
    950: '#000000',
  },
}
SCSS
$custom: #182056;
$custom-light: #5e5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#182056",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 232.258,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2733,
    "c": 0.09757,
    "h": 271.9
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#182056
secondary
#8D823D
accent
#CC48E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #182056

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

Preview Lab → · Contrast checker → · Palette generator →

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