#182D58#182D58

#182D58 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.082 H 262.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#182D58
RGBrgb(24, 45, 88)
HSLhsl(220, 57%, 22%)
HSVhsv(220, 73%, 35%)
CMYKcmyk(72.7%, 48.9%, 0%, 65.5%)
CIE-LABlab(19.12, 7.96, -28.48)
CIE-LCHlch(19.12, 29.57, 285.61°)
OKLaboklab(30.54% -0.0102 -0.0814)
OKLCHoklch(30.54% 0.082 262.9)
XYZxyz(3.0759, 2.7752, 9.6042)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D58 #584318
analogous
#184D58 #182D58 #231858
triadic
#182D58 #58182D #2D5818
tetradic
#182D58 #58184D #584318 #185823
square
#182D58 #58184D #584318 #185823
split-complementary
#182D58 #582318 #4D5818
monochromatic
#070C18 #0B1428 #182D58 #254688 #325EB8

Accessibility & contrast

On white

13.50
#182D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D58
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D58#FFFFFF#000000##FFFFFF
##182D581.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325A
Deuteranopia (green-blind)
#0C2C57
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182d58;
/* rgb */ color: rgb(24, 45, 88);
/* oklch */ color: oklch(30.5% 0.082 262.9);
Tailwind
colors: {
  custom: {
    50: '#5d6587',
    500: '#182d58',
    950: '#000000',
  },
}
SCSS
$custom: #182d58;
$custom-light: #5d6587;
$custom-dark: #000000;
JSON
{
  "hex": "#182d58",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 220.313,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30541,
    "c": 0.08207,
    "h": 262.9
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#182D58
secondary
#8F743D
accent
#AE47E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #182D58

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

Preview Lab → · Contrast checker → · Palette generator →

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