#182C5E#182C5E

#182C5E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.093 H 265.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#182C5E
RGBrgb(24, 44, 94)
HSLhsl(223, 59%, 23%)
HSVhsv(223, 74%, 37%)
CMYKcmyk(74.5%, 53.2%, 0%, 63.1%)
CIE-LABlab(19.24, 11.18, -32.26)
CIE-LCHlch(19.24, 34.14, 289.10°)
OKLaboklab(30.77% -0.0081 -0.0926)
OKLCHoklch(30.77% 0.093 265)
XYZxyz(3.2970, 2.8034, 10.9549)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C5E #5E4A18
analogous
#184F5E #182C5E #27185E
triadic
#182C5E #5E182C #2C5E18
tetradic
#182C5E #5E184F #5E4A18 #185E27
square
#182C5E #5E184F #5E4A18 #185E27
split-complementary
#182C5E #5E2718 #4F5E18
monochromatic
#060B18 #0C152D #182C5E #24438F #315AC0

Accessibility & contrast

On white

13.45
#182C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182C5E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C5E#FFFFFF#000000##FFFFFF
##182C5E1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#002C5D
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182c5e;
/* rgb */ color: rgb(24, 44, 94);
/* oklch */ color: oklch(30.8% 0.093 265.0);
Tailwind
colors: {
  custom: {
    50: '#5f648c',
    500: '#182c5e',
    950: '#000000',
  },
}
SCSS
$custom: #182c5e;
$custom-light: #5f648c;
$custom-dark: #000000;
JSON
{
  "hex": "#182c5e",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 222.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30771,
    "c": 0.09295,
    "h": 265
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#182C5E
secondary
#947C3D
accent
#B645E3
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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