#182A75#182A75

#182A75 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.130 H 267.8°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#182A75
RGBrgb(24, 42, 117)
HSLhsl(228, 66%, 28%)
HSVhsv(228, 79%, 46%)
CMYKcmyk(79.5%, 64.1%, 0%, 54.1%)
CIE-LABlab(20.57, 22.09, -45.06)
CIE-LCHlch(20.57, 50.18, 296.11°)
OKLaboklab(32.38% -0.005 -0.1302)
OKLCHoklch(32.38% 0.13 267.8)
XYZxyz(4.4144, 3.1340, 17.1984)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A75 #756318
analogous
#185875 #182A75 #341875
triadic
#182A75 #75182A #2A7518
tetradic
#182A75 #751858 #756318 #187534
square
#182A75 #751858 #756318 #187534
split-complementary
#182A75 #753418 #587518
monochromatic
#050919 #0E1842 #182A75 #223CA8 #3252D5

Accessibility & contrast

On white

12.91
#182A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A75
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A75#FFFFFF#000000##FFFFFF
##182A751.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182a75;
/* rgb */ color: rgb(24, 42, 117);
/* oklch */ color: oklch(32.4% 0.130 267.8);
Tailwind
colors: {
  custom: {
    50: '#65639d',
    500: '#182a75',
    950: '#000000',
  },
}
SCSS
$custom: #182a75;
$custom-light: #65639d;
$custom-dark: #000000;
JSON
{
  "hex": "#182a75",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 228.387,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32378,
    "c": 0.13033,
    "h": 267.8
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#182A75
secondary
#AA953F
accent
#C83FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182A75

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

Preview Lab → · Contrast checker → · Palette generator →

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