#182E57#182E57

#182E57 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.079 H 261.7°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#182E57
RGBrgb(24, 46, 87)
HSLhsl(219, 57%, 22%)
HSVhsv(219, 72%, 34%)
CMYKcmyk(72.4%, 47.1%, 0%, 65.9%)
CIE-LABlab(19.37, 6.82, -27.40)
CIE-LCHlch(19.37, 28.24, 283.97°)
OKLaboklab(30.71% -0.0115 -0.0783)
OKLCHoklch(30.71% 0.079 261.7)
XYZxyz(3.0734, 2.8360, 9.4004)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E57 #574118
analogous
#184E57 #182E57 #221857
triadic
#182E57 #57182E #2E5718
tetradic
#182E57 #57184E #574118 #185722
square
#182E57 #57184E #574118 #185722
split-complementary
#182E57 #572218 #4E5718
monochromatic
#070D18 #0B1527 #182E57 #254787 #3261B7

Accessibility & contrast

On white

13.40
#182E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E57
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E57#FFFFFF#000000##FFFFFF
##182E571.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#102C56
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182e57;
/* rgb */ color: rgb(24, 46, 87);
/* oklch */ color: oklch(30.7% 0.079 261.7);
Tailwind
colors: {
  custom: {
    50: '#5d6687',
    500: '#182e57',
    950: '#000000',
  },
}
SCSS
$custom: #182e57;
$custom-light: #5d6687;
$custom-dark: #000000;
JSON
{
  "hex": "#182e57",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 219.048,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30715,
    "c": 0.07911,
    "h": 261.7
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#182E57
secondary
#8E723D
accent
#AB48E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #182E57

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

Preview Lab → · Contrast checker → · Palette generator →

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