#182E5E#182E5E

#182E5E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.090 H 263.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#182E5E
RGBrgb(24, 46, 94)
HSLhsl(221, 59%, 23%)
HSVhsv(221, 74%, 37%)
CMYKcmyk(74.5%, 51.1%, 0%, 63.1%)
CIE-LABlab(19.87, 9.72, -31.25)
CIE-LCHlch(19.87, 32.73, 287.27°)
OKLaboklab(31.25% -0.0101 -0.0896)
OKLCHoklch(31.25% 0.09 263.5)
XYZxyz(3.3734, 2.9560, 10.9803)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E5E #5E4818
analogous
#18515E #182E5E #25185E
triadic
#182E5E #5E182E #2E5E18
tetradic
#182E5E #5E1851 #5E4818 #185E25
square
#182E5E #5E1851 #5E4818 #185E25
split-complementary
#182E5E #5E2518 #515E18
monochromatic
#060C18 #0C162D #182E5E #24468F #315EC0

Accessibility & contrast

On white

13.20
#182E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#182E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E5E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E5E#FFFFFF#000000##FFFFFF
##182E5E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182e5e;
/* rgb */ color: rgb(24, 46, 94);
/* oklch */ color: oklch(31.3% 0.090 263.5);
Tailwind
colors: {
  custom: {
    50: '#5f668c',
    500: '#182e5e',
    950: '#000000',
  },
}
SCSS
$custom: #182e5e;
$custom-light: #5f668c;
$custom-dark: #000000;
JSON
{
  "hex": "#182e5e",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 221.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31251,
    "c": 0.09016,
    "h": 263.5
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#182E5E
secondary
#94793D
accent
#B145E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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