#182281#182281

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

Color values

HEX#182281
RGBrgb(24, 34, 129)
HSLhsl(234, 69%, 30%)
HSVhsv(234, 81%, 51%)
CMYKcmyk(81.4%, 73.6%, 0%, 49.4%)
CIE-LABlab(19.73, 32.20, -54.08)
CIE-LCHlch(19.73, 62.94, 300.77°)
OKLaboklab(32.13% -0.0012 -0.1566)
OKLCHoklch(32.13% 0.157 269.6)
XYZxyz(4.9098, 2.9227, 21.0700)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182281 #817718
analogous
#185681 #182281 #431881
triadic
#182281 #811822 #228118
tetradic
#182281 #811856 #817718 #188143
square
#182281 #811856 #817718 #188143
split-complementary
#182281 #814318 #568118
monochromatic
#05071A #0E144D #182281 #2230B5 #3949DA

Accessibility & contrast

On white

13.25
#182281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182281
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182281#FFFFFF#000000##FFFFFF
##1822811.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182281;
/* rgb */ color: rgb(24, 34, 129);
/* oklch */ color: oklch(32.1% 0.157 269.6);
Tailwind
colors: {
  custom: {
    50: '#695da7',
    500: '#182281',
    950: '#000000',
  },
}
SCSS
$custom: #182281;
$custom-light: #695da7;
$custom-dark: #000000;
JSON
{
  "hex": "#182281",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 234.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.32128,
    "c": 0.15663,
    "h": 269.6
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#182281
secondary
#B5AA40
accent
#DB3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #182281

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

Preview Lab → · Contrast checker → · Palette generator →

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