#182289#182289

#182289 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.167 H 269.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#182289
RGBrgb(24, 34, 137)
HSLhsl(235, 70%, 32%)
HSVhsv(235, 82%, 54%)
CMYKcmyk(82.5%, 75.2%, 0%, 46.3%)
CIE-LABlab(20.61, 35.15, -57.66)
CIE-LCHlch(20.61, 67.53, 301.37°)
OKLaboklab(33.02% -0.0023 -0.167)
OKLCHoklch(33.02% 0.167 269.2)
XYZxyz(5.4625, 3.1438, 23.9810)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182289 #897F18
analogous
#185B89 #182289 #471889
triadic
#182289 #891822 #228918
tetradic
#182289 #89185B #897F18 #188947
square
#182289 #89185B #897F18 #188947
split-complementary
#182289 #894718 #5B8918
monochromatic
#060821 #0F1555 #182289 #212FBD #3E4CDD

Accessibility & contrast

On white

12.89
#182289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182289
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182289#FFFFFF#000000##FFFFFF
##1822891.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182289;
/* rgb */ color: rgb(24, 34, 137);
/* oklch */ color: oklch(33.0% 0.167 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c5ead',
    500: '#182289',
    950: '#000000',
  },
}
SCSS
$custom: #182289;
$custom-light: #6c5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#182289",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 234.69,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3302,
    "c": 0.16707,
    "h": 269.2
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#182289
secondary
#BDB240
accent
#DD3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182289

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

Preview Lab → · Contrast checker → · Palette generator →

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