#182F57#182F57

#182F57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.078 H 260.7°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#182F57
RGBrgb(24, 47, 87)
HSLhsl(218, 57%, 22%)
HSVhsv(218, 72%, 34%)
CMYKcmyk(72.4%, 46%, 0%, 65.9%)
CIE-LABlab(19.70, 6.09, -26.88)
CIE-LCHlch(19.70, 27.57, 282.77°)
OKLaboklab(30.97% -0.0126 -0.0767)
OKLCHoklch(30.97% 0.078 260.7)
XYZxyz(3.1129, 2.9150, 9.4136)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F57 #574018
analogous
#184F57 #182F57 #211857
triadic
#182F57 #57182F #2F5718
tetradic
#182F57 #57184F #574018 #185721
square
#182F57 #57184F #574018 #185721
split-complementary
#182F57 #572118 #4F5718
monochromatic
#070D18 #0B1527 #182F57 #254987 #3263B7

Accessibility & contrast

On white

13.27
#182F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F57
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F57#FFFFFF#000000##FFFFFF
##182F571.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#122D56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182f57;
/* rgb */ color: rgb(24, 47, 87);
/* oklch */ color: oklch(31.0% 0.078 260.7);
Tailwind
colors: {
  custom: {
    50: '#5d6787',
    500: '#182f57',
    950: '#000000',
  },
}
SCSS
$custom: #182f57;
$custom-light: #5d6787;
$custom-dark: #000000;
JSON
{
  "hex": "#182f57",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 218.095,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30966,
    "c": 0.07775,
    "h": 260.7
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#182F57
secondary
#8E703D
accent
#A848E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #182F57

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

Preview Lab → · Contrast checker → · Palette generator →

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