#182C56#182C56

#182C56 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.080 H 263.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#182C56
RGBrgb(24, 44, 86)
HSLhsl(221, 56%, 22%)
HSVhsv(221, 72%, 34%)
CMYKcmyk(72.1%, 48.8%, 0%, 66.3%)
CIE-LABlab(18.66, 7.86, -27.88)
CIE-LCHlch(18.66, 28.97, 285.74°)
OKLaboklab(30.14% -0.0094 -0.0797)
OKLCHoklch(30.14% 0.08 263.2)
XYZxyz(2.9565, 2.6672, 9.1613)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C56 #564218
analogous
#184B56 #182C56 #231856
triadic
#182C56 #56182C #2C5618
tetradic
#182C56 #56184B #564218 #185623
square
#182C56 #56184B #564218 #185623
split-complementary
#182C56 #562318 #4B5618
monochromatic
#070C18 #0B1426 #182C56 #254486 #335DB6

Accessibility & contrast

On white

13.70
#182C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C56
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C56#FFFFFF#000000##FFFFFF
##182C561.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173058
Deuteranopia (green-blind)
#0C2B55
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182c56;
/* rgb */ color: rgb(24, 44, 86);
/* oklch */ color: oklch(30.1% 0.080 263.2);
Tailwind
colors: {
  custom: {
    50: '#5d6486',
    500: '#182c56',
    950: '#000000',
  },
}
SCSS
$custom: #182c56;
$custom-light: #5d6486;
$custom-dark: #000000;
JSON
{
  "hex": "#182c56",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 220.645,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30141,
    "c": 0.08027,
    "h": 263.2
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#182C56
secondary
#8D733D
accent
#AF48E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182C56

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

Preview Lab → · Contrast checker → · Palette generator →

#182C56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva