#182059#182059

#182059 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.102 H 271.8°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#182059
RGBrgb(24, 32, 89)
HSLhsl(233, 58%, 22%)
HSVhsv(233, 73%, 35%)
CMYKcmyk(73%, 64%, 0%, 65.1%)
CIE-LABlab(15.21, 17.94, -35.46)
CIE-LCHlch(15.21, 39.74, 296.84°)
OKLaboklab(27.61% 0.0033 -0.1022)
OKLCHoklch(27.61% 0.102 271.8)
XYZxyz(2.6958, 1.9482, 9.6832)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182059 #595118
analogous
#184159 #182059 #301859
triadic
#182059 #591820 #205918
tetradic
#182059 #591841 #595118 #185930
square
#182059 #591841 #595118 #185930
split-complementary
#182059 #593018 #415918
monochromatic
#060918 #0B0F29 #182059 #253189 #3243B9

Accessibility & contrast

On white

15.11
#182059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#182059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182059
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182059#FFFFFF#000000##FFFFFF
##1820591.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #182059;
/* rgb */ color: rgb(24, 32, 89);
/* oklch */ color: oklch(27.6% 0.102 271.8);
Tailwind
colors: {
  custom: {
    50: '#5f5b88',
    500: '#182059',
    950: '#000000',
  },
}
SCSS
$custom: #182059;
$custom-light: #5f5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#182059",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 232.615,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27612,
    "c": 0.10223,
    "h": 271.8
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#182059
secondary
#90853D
accent
#CE47E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #182059

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

Preview Lab → · Contrast checker → · Palette generator →

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