#182C5C#182C5C

#182C5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.090 H 264.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#182C5C
RGBrgb(24, 44, 92)
HSLhsl(222, 59%, 23%)
HSVhsv(222, 74%, 36%)
CMYKcmyk(73.9%, 52.2%, 0%, 63.9%)
CIE-LABlab(19.09, 10.35, -31.18)
CIE-LCHlch(19.09, 32.85, 288.36°)
OKLaboklab(30.61% -0.0084 -0.0894)
OKLCHoklch(30.61% 0.09 264.6)
XYZxyz(3.2085, 2.7679, 10.4883)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C5C #5C4818
analogous
#184E5C #182C5C #26185C
triadic
#182C5C #5C182C #2C5C18
tetradic
#182C5C #5C184E #5C4818 #185C26
square
#182C5C #5C184E #5C4818 #185C26
split-complementary
#182C5C #5C2618 #4E5C18
monochromatic
#060C18 #0B152B #182C5C #25438D #315ABD

Accessibility & contrast

On white

13.52
#182C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C5C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C5C#FFFFFF#000000##FFFFFF
##182C5C1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325E
Deuteranopia (green-blind)
#022B5B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182c5c;
/* rgb */ color: rgb(24, 44, 92);
/* oklch */ color: oklch(30.6% 0.090 264.6);
Tailwind
colors: {
  custom: {
    50: '#5e648a',
    500: '#182c5c',
    950: '#000000',
  },
}
SCSS
$custom: #182c5c;
$custom-light: #5e648a;
$custom-dark: #000000;
JSON
{
  "hex": "#182c5c",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 222.353,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3061,
    "c": 0.0898,
    "h": 264.6
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#182C5C
secondary
#93793D
accent
#B446E2
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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