#182179#182179

#182179 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.147 H 270.1°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#182179
RGBrgb(24, 33, 121)
HSLhsl(234, 67%, 28%)
HSVhsv(234, 80%, 47%)
CMYKcmyk(80.2%, 72.7%, 0%, 52.5%)
CIE-LABlab(18.64, 29.84, -50.79)
CIE-LCHlch(18.64, 58.91, 300.43°)
OKLaboklab(31.08% 0.0003 -0.1471)
OKLCHoklch(31.08% 0.147 270.1)
XYZxyz(4.3706, 2.6619, 18.3689)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182179 #797018
analogous
#185179 #182179 #3F1879
triadic
#182179 #791821 #217918
tetradic
#182179 #791851 #797018 #18793F
square
#182179 #791851 #797018 #18793F
split-complementary
#182179 #793F18 #517918
monochromatic
#05071A #0E1346 #182179 #222FAC #3544D7

Accessibility & contrast

On white

13.70
#182179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182179
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182179#FFFFFF#000000##FFFFFF
##1821791.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182179;
/* rgb */ color: rgb(24, 33, 121);
/* oklch */ color: oklch(31.1% 0.147 270.1);
Tailwind
colors: {
  custom: {
    50: '#675ca1',
    500: '#182179',
    950: '#000000',
  },
}
SCSS
$custom: #182179;
$custom-light: #675ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#182179",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 234.433,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31081,
    "c": 0.14707,
    "h": 270.1
  },
  "luminance": 0.02662
}

Semantic roles & 50–950 ramp

primary
#182179
secondary
#AEA43F
accent
#DA3EEA
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #182179

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

Preview Lab → · Contrast checker → · Palette generator →

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