#182F54#182F54

#182F54 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.7% C 0.073 H 259.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#182F54
RGBrgb(24, 47, 84)
HSLhsl(217, 56%, 21%)
HSVhsv(217, 71%, 33%)
CMYKcmyk(71.4%, 44%, 0%, 67.1%)
CIE-LABlab(19.50, 4.86, -25.20)
CIE-LCHlch(19.50, 25.66, 280.91°)
OKLaboklab(30.75% -0.0133 -0.0718)
OKLCHoklch(30.75% 0.073 259.5)
XYZxyz(2.9929, 2.8670, 8.7815)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F54 #543D18
analogous
#184D54 #182F54 #1F1854
triadic
#182F54 #54182F #2F5418
tetradic
#182F54 #54184D #543D18 #18541F
square
#182F54 #54184D #543D18 #18541F
split-complementary
#182F54 #541F18 #4D5418
monochromatic
#070D18 #0A1424 #182F54 #264A84 #3364B3

Accessibility & contrast

On white

13.35
#182F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#182F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F54
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F54#FFFFFF#000000##FFFFFF
##182F541.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3255
Deuteranopia (green-blind)
#152D53
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182f54;
/* rgb */ color: rgb(24, 47, 84);
/* oklch */ color: oklch(30.7% 0.073 259.5);
Tailwind
colors: {
  custom: {
    50: '#5c6784',
    500: '#182f54',
    950: '#000000',
  },
}
SCSS
$custom: #182f54;
$custom-light: #5c6784;
$custom-dark: #000000;
JSON
{
  "hex": "#182f54",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 217,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30749,
    "c": 0.07301,
    "h": 259.5
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#182F54
secondary
#8B6D3D
accent
#A549DF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #182F54

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

Preview Lab → · Contrast checker → · Palette generator →

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