#182E54#182E54

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

Color values

HEX#182E54
RGBrgb(24, 46, 84)
HSLhsl(218, 56%, 21%)
HSVhsv(218, 71%, 33%)
CMYKcmyk(71.4%, 45.2%, 0%, 67.1%)
CIE-LABlab(19.17, 5.58, -25.72)
CIE-LCHlch(19.17, 26.32, 282.24°)
OKLaboklab(30.49% -0.0122 -0.0733)
OKLCHoklch(30.49% 0.074 260.6)
XYZxyz(2.9533, 2.7880, 8.7683)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E54 #543E18
analogous
#184C54 #182E54 #201854
triadic
#182E54 #54182E #2E5418
tetradic
#182E54 #54184C #543E18 #185420
square
#182E54 #54184C #543E18 #185420
split-complementary
#182E54 #542018 #4C5418
monochromatic
#070D18 #0A1424 #182E54 #264884 #3362B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##182E54#FFFFFF#000000##FFFFFF
##182E541.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)
#1D3255
Deuteranopia (green-blind)
#132C53
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182e54;
/* rgb */ color: rgb(24, 46, 84);
/* oklch */ color: oklch(30.5% 0.074 260.6);
Tailwind
colors: {
  custom: {
    50: '#5c6684',
    500: '#182e54',
    950: '#000000',
  },
}
SCSS
$custom: #182e54;
$custom-light: #5c6684;
$custom-dark: #000000;
JSON
{
  "hex": "#182e54",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 218,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30494,
    "c": 0.07433,
    "h": 260.6
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#182E54
secondary
#8B6E3D
accent
#A849DF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #182E54

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

Preview Lab → · Contrast checker → · Palette generator →

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