#182D53#182D53

#182D53 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.074 H 261.3°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#182D53
RGBrgb(24, 45, 83)
HSLhsl(219, 55%, 21%)
HSVhsv(219, 71%, 33%)
CMYKcmyk(71.1%, 45.8%, 0%, 67.5%)
CIE-LABlab(18.78, 5.89, -25.68)
CIE-LCHlch(18.78, 26.35, 282.93°)
OKLaboklab(30.17% -0.0112 -0.0732)
OKLCHoklch(30.17% 0.074 261.3)
XYZxyz(2.8759, 2.6952, 8.5506)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D53 #533E18
analogous
#184A53 #182D53 #201853
triadic
#182D53 #53182D #2D5318
tetradic
#182D53 #53184A #533E18 #185320
square
#182D53 #53184A #533E18 #185320
split-complementary
#182D53 #532018 #4A5318
monochromatic
#070D18 #0A1324 #182D53 #264782 #3360B2

Accessibility & contrast

On white

13.65
#182D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D53
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D53#FFFFFF#000000##FFFFFF
##182D531.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3154
Deuteranopia (green-blind)
#122B52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182d53;
/* rgb */ color: rgb(24, 45, 83);
/* oklch */ color: oklch(30.2% 0.074 261.3);
Tailwind
colors: {
  custom: {
    50: '#5c6583',
    500: '#182d53',
    950: '#000000',
  },
}
SCSS
$custom: #182d53;
$custom-light: #5c6583;
$custom-dark: #000000;
JSON
{
  "hex": "#182d53",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 83
  },
  "hsl": {
    "h": 218.644,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30168,
    "c": 0.07409,
    "h": 261.3
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#182D53
secondary
#8A6E3D
accent
#A949DE
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182D53

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

Preview Lab → · Contrast checker → · Palette generator →

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