#182D59#182D59

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

Color values

HEX#182D59
RGBrgb(24, 45, 89)
HSLhsl(221, 58%, 22%)
HSVhsv(221, 73%, 35%)
CMYKcmyk(73%, 49.4%, 0%, 65.1%)
CIE-LABlab(19.19, 8.37, -29.03)
CIE-LCHlch(19.19, 30.21, 286.08°)
OKLaboklab(30.62% -0.01 -0.0831)
OKLCHoklch(30.62% 0.084 263.2)
XYZxyz(3.1176, 2.7919, 9.8239)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D59 #594418
analogous
#184E59 #182D59 #231859
triadic
#182D59 #59182D #2D5918
tetradic
#182D59 #59184E #594418 #185923
square
#182D59 #59184E #594418 #185923
split-complementary
#182D59 #592318 #4E5918
monochromatic
#060C18 #0B1529 #182D59 #254589 #325EB9

Accessibility & contrast

On white

13.48
#182D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D59
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D59#FFFFFF#000000##FFFFFF
##182D591.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325B
Deuteranopia (green-blind)
#0A2C58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182d59;
/* rgb */ color: rgb(24, 45, 89);
/* oklch */ color: oklch(30.6% 0.084 263.2);
Tailwind
colors: {
  custom: {
    50: '#5e6588',
    500: '#182d59',
    950: '#000000',
  },
}
SCSS
$custom: #182d59;
$custom-light: #5e6588;
$custom-dark: #000000;
JSON
{
  "hex": "#182d59",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 220.615,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30618,
    "c": 0.08366,
    "h": 263.2
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#182D59
secondary
#90753D
accent
#AF47E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #182D59

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

Preview Lab → · Contrast checker → · Palette generator →

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