#182956#182956

#182956 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.085 H 265.8°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#182956
RGBrgb(24, 41, 86)
HSLhsl(224, 56%, 22%)
HSVhsv(224, 72%, 34%)
CMYKcmyk(72.1%, 52.3%, 0%, 66.3%)
CIE-LABlab(17.70, 10.06, -29.42)
CIE-LCHlch(17.70, 31.10, 288.88°)
OKLaboklab(29.41% -0.0061 -0.0843)
OKLCHoklch(29.41% 0.085 265.8)
XYZxyz(2.8488, 2.4517, 9.1254)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182956 #564518
analogous
#184856 #182956 #261856
triadic
#182956 #561829 #295618
tetradic
#182956 #561848 #564518 #185626
square
#182956 #561848 #564518 #185626
split-complementary
#182956 #562618 #485618
monochromatic
#070B18 #0B1226 #182956 #254086 #3357B6

Accessibility & contrast

On white

14.09
#182956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#182956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182956
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182956#FFFFFF#000000##FFFFFF
##1829561.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E58
Deuteranopia (green-blind)
#042955
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182956;
/* rgb */ color: rgb(24, 41, 86);
/* oklch */ color: oklch(29.4% 0.085 265.8);
Tailwind
colors: {
  custom: {
    50: '#5d6286',
    500: '#182956',
    950: '#000000',
  },
}
SCSS
$custom: #182956;
$custom-light: #5d6286;
$custom-dark: #000000;
JSON
{
  "hex": "#182956",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 223.548,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29406,
    "c": 0.08451,
    "h": 265.8
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#182956
secondary
#8D773D
accent
#B648E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182956

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

Preview Lab → · Contrast checker → · Palette generator →

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