#182C5F#182C5F

#182C5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.095 H 265.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#182C5F
RGBrgb(24, 44, 95)
HSLhsl(223, 60%, 23%)
HSVhsv(223, 75%, 37%)
CMYKcmyk(74.7%, 53.7%, 0%, 62.7%)
CIE-LABlab(19.31, 11.59, -32.80)
CIE-LCHlch(19.31, 34.79, 289.46°)
OKLaboklab(30.85% -0.008 -0.0942)
OKLCHoklch(30.85% 0.095 265.2)
XYZxyz(3.3422, 2.8214, 11.1927)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C5F #5F4B18
analogous
#184F5F #182C5F #27185F
triadic
#182C5F #5F182C #2C5F18
tetradic
#182C5F #5F184F #5F4B18 #185F27
square
#182C5F #5F184F #5F4B18 #185F27
split-complementary
#182C5F #5F2718 #4F5F18
monochromatic
#060B18 #0C152E #182C5F #244390 #3159C1

Accessibility & contrast

On white

13.42
#182C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C5F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C5F#FFFFFF#000000##FFFFFF
##182C5F1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3261
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182c5f;
/* rgb */ color: rgb(24, 44, 95);
/* oklch */ color: oklch(30.9% 0.095 265.2);
Tailwind
colors: {
  custom: {
    50: '#5f648d',
    500: '#182c5f',
    950: '#000000',
  },
}
SCSS
$custom: #182c5f;
$custom-light: #5f648d;
$custom-dark: #000000;
JSON
{
  "hex": "#182c5f",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 223.099,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30853,
    "c": 0.09452,
    "h": 265.2
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#182C5F
secondary
#957D3D
accent
#B645E3
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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