#182756#182756

#182756 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.087 H 267.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#182756
RGBrgb(24, 39, 86)
HSLhsl(225, 56%, 22%)
HSVhsv(225, 72%, 34%)
CMYKcmyk(72.1%, 54.7%, 0%, 66.3%)
CIE-LABlab(17.07, 11.54, -30.44)
CIE-LCHlch(17.07, 32.55, 290.76°)
OKLaboklab(28.93% -0.004 -0.0873)
OKLCHoklch(28.93% 0.087 267.4)
XYZxyz(2.7813, 2.3169, 9.1029)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182756 #564718
analogous
#184656 #182756 #281856
triadic
#182756 #561827 #275618
tetradic
#182756 #561846 #564718 #185628
square
#182756 #561846 #564718 #185628
split-complementary
#182756 #562818 #465618
monochromatic
#070B18 #0B1126 #182756 #253D86 #3352B6

Accessibility & contrast

On white

14.35
#182756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#182756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182756
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182756#FFFFFF#000000##FFFFFF
##1827561.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2D58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182756;
/* rgb */ color: rgb(24, 39, 86);
/* oklch */ color: oklch(28.9% 0.087 267.4);
Tailwind
colors: {
  custom: {
    50: '#5d6086',
    500: '#182756',
    950: '#000000',
  },
}
SCSS
$custom: #182756;
$custom-light: #5d6086;
$custom-dark: #000000;
JSON
{
  "hex": "#182756",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 225.484,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28927,
    "c": 0.0874,
    "h": 267.4
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#182756
secondary
#8D793D
accent
#BB48E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #182756

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

Preview Lab → · Contrast checker → · Palette generator →

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