#182B8E#182B8E

#182B8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.164 H 267.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#182B8E
RGBrgb(24, 43, 142)
HSLhsl(230, 71%, 33%)
HSVhsv(230, 83%, 56%)
CMYKcmyk(83.1%, 69.7%, 0%, 44.3%)
CIE-LABlab(23.25, 31.23, -56.42)
CIE-LCHlch(23.25, 64.49, 298.97°)
OKLaboklab(35.08% -0.0067 -0.1635)
OKLCHoklch(35.08% 0.164 267.7)
XYZxyz(6.1214, 3.8742, 26.0111)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B8E #8E7B18
analogous
#18668E #182B8E #40188E
triadic
#182B8E #8E182B #2B8E18
tetradic
#182B8E #8E1866 #8E7B18 #188E40
square
#182B8E #8E1866 #8E7B18 #188E40
split-complementary
#182B8E #8E4018 #668E18
monochromatic
#060B25 #0F1B5A #182B8E #213BC2 #415BDF

Accessibility & contrast

On white

11.83
#182B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#182B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B8E
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B8E#FFFFFF#000000##FFFFFF
##182B8E1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182b8e;
/* rgb */ color: rgb(24, 43, 142);
/* oklch */ color: oklch(35.1% 0.164 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c64b0',
    500: '#182b8e',
    950: '#000000',
  },
}
SCSS
$custom: #182b8e;
$custom-light: #6c64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#182b8e",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 230.339,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35084,
    "c": 0.1636,
    "h": 267.7
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#182B8E
secondary
#C0AB42
accent
#D13AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #182B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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