#182859#182859

#182859 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.091 H 267.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#182859
RGBrgb(24, 40, 89)
HSLhsl(225, 58%, 22%)
HSVhsv(225, 73%, 35%)
CMYKcmyk(73%, 55.1%, 0%, 65.1%)
CIE-LABlab(17.61, 12.04, -31.57)
CIE-LCHlch(17.61, 33.79, 290.88°)
OKLaboklab(29.41% -0.0046 -0.0906)
OKLCHoklch(29.41% 0.091 267.1)
XYZxyz(2.9380, 2.4328, 9.7640)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182859 #594918
analogous
#184959 #182859 #291859
triadic
#182859 #591828 #285918
tetradic
#182859 #591849 #594918 #185929
square
#182859 #591849 #594918 #185929
split-complementary
#182859 #592918 #495918
monochromatic
#060B18 #0B1229 #182859 #253E89 #3253B9

Accessibility & contrast

On white

14.13
#182859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#182859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182859
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182859#FFFFFF#000000##FFFFFF
##1828591.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2E5B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182859;
/* rgb */ color: rgb(24, 40, 89);
/* oklch */ color: oklch(29.4% 0.091 267.1);
Tailwind
colors: {
  custom: {
    50: '#5e6188',
    500: '#182859',
    950: '#000000',
  },
}
SCSS
$custom: #182859;
$custom-light: #5e6188;
$custom-dark: #000000;
JSON
{
  "hex": "#182859",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 225.231,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29412,
    "c": 0.09074,
    "h": 267.1
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#182859
secondary
#907B3D
accent
#BB47E1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #182859

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

Preview Lab → · Contrast checker → · Palette generator →

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