#183259#183259

#183259 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.077 H 258.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#183259
RGBrgb(24, 50, 89)
HSLhsl(216, 58%, 22%)
HSVhsv(216, 73%, 35%)
CMYKcmyk(73%, 43.8%, 0%, 65.1%)
CIE-LABlab(20.81, 4.76, -26.44)
CIE-LCHlch(20.81, 26.86, 280.21°)
OKLaboklab(31.87% -0.0155 -0.0754)
OKLCHoklch(31.87% 0.077 258.4)
XYZxyz(3.3198, 3.1963, 9.8913)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183259 #593F18
analogous
#185359 #183259 #1F1859
triadic
#183259 #591832 #325918
tetradic
#183259 #591853 #593F18 #18591F
square
#183259 #591853 #593F18 #18591F
split-complementary
#183259 #591F18 #535918
monochromatic
#060E18 #0B1729 #183259 #254D89 #3268B9

Accessibility & contrast

On white

12.81
#183259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#183259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183259
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183259#FFFFFF#000000##FFFFFF
##1832591.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20355B
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #183259;
/* rgb */ color: rgb(24, 50, 89);
/* oklch */ color: oklch(31.9% 0.077 258.4);
Tailwind
colors: {
  custom: {
    50: '#5d6988',
    500: '#183259',
    950: '#000000',
  },
}
SCSS
$custom: #183259;
$custom-light: #5d6988;
$custom-dark: #000000;
JSON
{
  "hex": "#183259",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 89
  },
  "hsl": {
    "h": 216,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3187,
    "c": 0.07694,
    "h": 258.4
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#183259
secondary
#906F3D
accent
#A347E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #183259

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

Preview Lab → · Contrast checker → · Palette generator →

#183259 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva