#182C8F#182C8F

#182C8F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.164 H 267.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#182C8F
RGBrgb(24, 44, 143)
HSLhsl(230, 71%, 33%)
HSVhsv(230, 83%, 56%)
CMYKcmyk(83.2%, 69.2%, 0%, 43.9%)
CIE-LABlab(23.60, 30.95, -56.47)
CIE-LCHlch(23.60, 64.40, 298.73°)
OKLaboklab(35.37% -0.0072 -0.1636)
OKLCHoklch(35.37% 0.164 267.5)
XYZxyz(6.2336, 3.9780, 26.4206)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C8F #8F7B18
analogous
#18678F #182C8F #40188F
triadic
#182C8F #8F182C #2C8F18
tetradic
#182C8F #8F1867 #8F7B18 #188F40
square
#182C8F #8F1867 #8F7B18 #188F40
split-complementary
#182C8F #8F4018 #678F18
monochromatic
#060C26 #0F1C5B #182C8F #213CC3 #425DDF

Accessibility & contrast

On white

11.69
#182C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#182C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C8F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C8F#FFFFFF#000000##FFFFFF
##182C8F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182c8f;
/* rgb */ color: rgb(24, 44, 143);
/* oklch */ color: oklch(35.4% 0.164 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c65b1',
    500: '#182c8f',
    950: '#000000',
  },
}
SCSS
$custom: #182c8f;
$custom-light: #6c65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#182c8f",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 229.916,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35367,
    "c": 0.16376,
    "h": 267.5
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#182C8F
secondary
#C0AB43
accent
#D03AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #182C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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