#182C58#182C58

#182C58 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.083 H 263.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#182C58
RGBrgb(24, 44, 88)
HSLhsl(221, 57%, 22%)
HSVhsv(221, 73%, 35%)
CMYKcmyk(72.7%, 50%, 0%, 65.5%)
CIE-LABlab(18.80, 8.69, -28.99)
CIE-LCHlch(18.80, 30.26, 286.68°)
OKLaboklab(30.29% -0.0091 -0.083)
OKLCHoklch(30.29% 0.083 263.8)
XYZxyz(3.0382, 2.6998, 9.5916)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C58 #584418
analogous
#184C58 #182C58 #241858
triadic
#182C58 #58182C #2C5818
tetradic
#182C58 #58184C #584418 #185824
square
#182C58 #58184C #584418 #185824
split-complementary
#182C58 #582418 #4C5818
monochromatic
#070C18 #0B1428 #182C58 #254488 #325CB8

Accessibility & contrast

On white

13.64
#182C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C58
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C58#FFFFFF#000000##FFFFFF
##182C581.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16315A
Deuteranopia (green-blind)
#092B57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182c58;
/* rgb */ color: rgb(24, 44, 88);
/* oklch */ color: oklch(30.3% 0.083 263.8);
Tailwind
colors: {
  custom: {
    50: '#5d6487',
    500: '#182c58',
    950: '#000000',
  },
}
SCSS
$custom: #182c58;
$custom-light: #5d6487;
$custom-dark: #000000;
JSON
{
  "hex": "#182c58",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 221.25,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30294,
    "c": 0.08346,
    "h": 263.8
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#182C58
secondary
#8F753D
accent
#B147E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182C58

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

Preview Lab → · Contrast checker → · Palette generator →

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