#182E5B#182E5B

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

Color values

HEX#182E5B
RGBrgb(24, 46, 91)
HSLhsl(220, 58%, 23%)
HSVhsv(220, 74%, 36%)
CMYKcmyk(73.6%, 49.5%, 0%, 64.3%)
CIE-LABlab(19.65, 8.47, -29.62)
CIE-LCHlch(19.65, 30.80, 285.96°)
OKLaboklab(31.02% -0.0107 -0.0848)
OKLCHoklch(31.02% 0.085 262.8)
XYZxyz(3.2413, 2.9032, 10.2851)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E5B #5B4518
analogous
#184F5B #182E5B #24185B
triadic
#182E5B #5B182E #2E5B18
tetradic
#182E5B #5B184F #5B4518 #185B24
square
#182E5B #5B184F #5B4518 #185B24
split-complementary
#182E5B #5B2418 #4F5B18
monochromatic
#060C18 #0B162B #182E5B #25468B #325FBC

Accessibility & contrast

On white

13.28
#182E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E5B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E5B#FFFFFF#000000##FFFFFF
##182E5B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335D
Deuteranopia (green-blind)
#0A2D5A
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182e5b;
/* rgb */ color: rgb(24, 46, 91);
/* oklch */ color: oklch(31.0% 0.085 262.8);
Tailwind
colors: {
  custom: {
    50: '#5e668a',
    500: '#182e5b',
    950: '#000000',
  },
}
SCSS
$custom: #182e5b;
$custom-light: #5e668a;
$custom-dark: #000000;
JSON
{
  "hex": "#182e5b",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 220.299,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31017,
    "c": 0.08544,
    "h": 262.8
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#182E5B
secondary
#92763D
accent
#AF46E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #182E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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