#182F56#182F56

#182F56 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.076 H 260.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#182F56
RGBrgb(24, 47, 86)
HSLhsl(218, 56%, 22%)
HSVhsv(218, 72%, 34%)
CMYKcmyk(72.1%, 45.3%, 0%, 66.3%)
CIE-LABlab(19.63, 5.68, -26.32)
CIE-LCHlch(19.63, 26.93, 282.18°)
OKLaboklab(30.89% -0.0128 -0.0751)
OKLCHoklch(30.89% 0.076 260.3)
XYZxyz(3.0723, 2.8988, 9.1999)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F56 #563F18
analogous
#184E56 #182F56 #201856
triadic
#182F56 #56182F #2F5618
tetradic
#182F56 #56184E #563F18 #185620
square
#182F56 #56184E #563F18 #185620
split-complementary
#182F56 #562018 #4E5618
monochromatic
#070D18 #0B1526 #182F56 #254986 #3363B6

Accessibility & contrast

On white

13.29
#182F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F56
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F56#FFFFFF#000000##FFFFFF
##182F561.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3358
Deuteranopia (green-blind)
#132D55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182f56;
/* rgb */ color: rgb(24, 47, 86);
/* oklch */ color: oklch(30.9% 0.076 260.3);
Tailwind
colors: {
  custom: {
    50: '#5d6786',
    500: '#182f56',
    950: '#000000',
  },
}
SCSS
$custom: #182f56;
$custom-light: #5d6786;
$custom-dark: #000000;
JSON
{
  "hex": "#182f56",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 217.742,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30893,
    "c": 0.07617,
    "h": 260.3
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#182F56
secondary
#8D6F3D
accent
#A748E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #182F56

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

Preview Lab → · Contrast checker → · Palette generator →

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