#182C8E#182C8E

#182C8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.162 H 267.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#182C8E
RGBrgb(24, 44, 142)
HSLhsl(230, 71%, 33%)
HSVhsv(230, 83%, 56%)
CMYKcmyk(83.1%, 69%, 0%, 44.3%)
CIE-LABlab(23.50, 30.57, -56.02)
CIE-LCHlch(23.50, 63.82, 298.62°)
OKLaboklab(35.26% -0.0072 -0.1623)
OKLCHoklch(35.26% 0.162 267.5)
XYZxyz(6.1582, 3.9478, 26.0234)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C8E #8E7A18
analogous
#18678E #182C8E #3F188E
triadic
#182C8E #8E182C #2C8E18
tetradic
#182C8E #8E1867 #8E7A18 #188E3F
square
#182C8E #8E1867 #8E7A18 #188E3F
split-complementary
#182C8E #8E3F18 #678E18
monochromatic
#060C25 #0F1C5A #182C8E #213CC2 #415CDF

Accessibility & contrast

On white

11.73
#182C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#182C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C8E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C8E#FFFFFF#000000##FFFFFF
##182C8E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182c8e;
/* rgb */ color: rgb(24, 44, 142);
/* oklch */ color: oklch(35.3% 0.162 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c65b0',
    500: '#182c8e',
    950: '#000000',
  },
}
SCSS
$custom: #182c8e;
$custom-light: #6c65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#182c8e",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 229.831,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35264,
    "c": 0.16243,
    "h": 267.5
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#182C8E
secondary
#C0AA42
accent
#CF3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #182C8E

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

Preview Lab → · Contrast checker → · Palette generator →

#182C8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva