#182F59#182F59

#182F59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.081 H 261.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#182F59
RGBrgb(24, 47, 89)
HSLhsl(219, 58%, 22%)
HSVhsv(219, 73%, 35%)
CMYKcmyk(73%, 47.2%, 0%, 65.1%)
CIE-LABlab(19.84, 6.92, -28.00)
CIE-LCHlch(19.84, 28.84, 283.88°)
OKLaboklab(31.11% -0.0122 -0.08)
OKLCHoklch(31.11% 0.081 261.4)
XYZxyz(3.1957, 2.9482, 9.8499)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F59 #594218
analogous
#185059 #182F59 #221859
triadic
#182F59 #59182F #2F5918
tetradic
#182F59 #591850 #594218 #185922
square
#182F59 #591850 #594218 #185922
split-complementary
#182F59 #592218 #505918
monochromatic
#060D18 #0B1629 #182F59 #254889 #3262B9

Accessibility & contrast

On white

13.21
#182F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#182F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F59
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F59#FFFFFF#000000##FFFFFF
##182F591.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335B
Deuteranopia (green-blind)
#102D58
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182f59;
/* rgb */ color: rgb(24, 47, 89);
/* oklch */ color: oklch(31.1% 0.081 261.4);
Tailwind
colors: {
  custom: {
    50: '#5e6788',
    500: '#182f59',
    950: '#000000',
  },
}
SCSS
$custom: #182f59;
$custom-light: #5e6788;
$custom-dark: #000000;
JSON
{
  "hex": "#182f59",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 218.769,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31113,
    "c": 0.08091,
    "h": 261.4
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#182F59
secondary
#90723D
accent
#AA47E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #182F59

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

Preview Lab → · Contrast checker → · Palette generator →

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