#182D5E#182D5E

#182D5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.092 H 264.3°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#182D5E
RGBrgb(24, 45, 94)
HSLhsl(222, 59%, 23%)
HSVhsv(222, 74%, 37%)
CMYKcmyk(74.5%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.55, 10.44, -31.76)
CIE-LCHlch(19.55, 33.43, 288.20°)
OKLaboklab(31.01% -0.0091 -0.0911)
OKLCHoklch(31.01% 0.092 264.3)
XYZxyz(3.3347, 2.8788, 10.9674)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D5E #5E4918
analogous
#18505E #182D5E #26185E
triadic
#182D5E #5E182D #2D5E18
tetradic
#182D5E #5E1850 #5E4918 #185E26
square
#182D5E #5E1850 #5E4918 #185E26
split-complementary
#182D5E #5E2618 #505E18
monochromatic
#060C18 #0C162D #182D5E #24448F #315CC0

Accessibility & contrast

On white

13.33
#182D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#182D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D5E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D5E#FFFFFF#000000##FFFFFF
##182D5E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123360
Deuteranopia (green-blind)
#012C5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182d5e;
/* rgb */ color: rgb(24, 45, 94);
/* oklch */ color: oklch(31.0% 0.092 264.3);
Tailwind
colors: {
  custom: {
    50: '#5f658c',
    500: '#182d5e',
    950: '#000000',
  },
}
SCSS
$custom: #182d5e;
$custom-light: #5f658c;
$custom-dark: #000000;
JSON
{
  "hex": "#182d5e",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 222,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3101,
    "c": 0.09156,
    "h": 264.3
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#182D5E
secondary
#947A3D
accent
#B345E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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