#182689#182689

#182689 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.163 H 268.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#182689
RGBrgb(24, 38, 137)
HSLhsl(233, 70%, 32%)
HSVhsv(233, 82%, 54%)
CMYKcmyk(82.5%, 72.3%, 0%, 46.3%)
CIE-LABlab(21.53, 32.61, -56.15)
CIE-LCHlch(21.53, 64.93, 300.15°)
OKLaboklab(33.68% -0.004 -0.1627)
OKLCHoklch(33.68% 0.163 268.6)
XYZxyz(5.5836, 3.3859, 24.0213)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182689 #897B18
analogous
#185F89 #182689 #431889
triadic
#182689 #891826 #268918
tetradic
#182689 #89185F #897B18 #188943
square
#182689 #89185F #897B18 #188943
split-complementary
#182689 #894318 #5F8918
monochromatic
#060921 #0F1855 #182689 #2134BD #3E52DD

Accessibility & contrast

On white

12.52
#182689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182689
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182689#FFFFFF#000000##FFFFFF
##1826891.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182689;
/* rgb */ color: rgb(24, 38, 137);
/* oklch */ color: oklch(33.7% 0.163 268.6);
Tailwind
colors: {
  custom: {
    50: '#6b61ac',
    500: '#182689',
    950: '#000000',
  },
}
SCSS
$custom: #182689;
$custom-light: #6b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182689",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 232.566,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33679,
    "c": 0.16271,
    "h": 268.6
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#182689
secondary
#BDAD40
accent
#D73BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #182689

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

Preview Lab → · Contrast checker → · Palette generator →

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