#182280#182280

#182280 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.155 H 269.6°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#182280
RGBrgb(24, 34, 128)
HSLhsl(234, 68%, 30%)
HSVhsv(234, 81%, 50%)
CMYKcmyk(81.3%, 73.4%, 0%, 49.8%)
CIE-LABlab(19.62, 31.83, -53.62)
CIE-LCHlch(19.62, 62.35, 300.69°)
OKLaboklab(32.02% -0.0011 -0.1553)
OKLCHoklch(32.02% 0.155 269.6)
XYZxyz(4.8437, 2.8962, 20.7216)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182280 #807618
analogous
#185680 #182280 #421880
triadic
#182280 #801822 #228018
tetradic
#182280 #801856 #807618 #188042
square
#182280 #801856 #807618 #188042
split-complementary
#182280 #804218 #568018
monochromatic
#05071A #0E144C #182280 #2230B4 #3948DA

Accessibility & contrast

On white

13.30
#182280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#182280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182280
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182280#FFFFFF#000000##FFFFFF
##1822801.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182280;
/* rgb */ color: rgb(24, 34, 128);
/* oklch */ color: oklch(32.0% 0.155 269.6);
Tailwind
colors: {
  custom: {
    50: '#695da6',
    500: '#182280',
    950: '#000000',
  },
}
SCSS
$custom: #182280;
$custom-light: #695da6;
$custom-dark: #000000;
JSON
{
  "hex": "#182280",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 234.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.1553,
    "h": 269.6
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#182280
secondary
#B4A940
accent
#DA3DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #182280

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

Preview Lab → · Contrast checker → · Palette generator →

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