#182A6A#182A6A

#182A6A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.114 H 267.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#182A6A
RGBrgb(24, 42, 106)
HSLhsl(227, 63%, 25%)
HSVhsv(227, 77%, 42%)
CMYKcmyk(77.4%, 60.4%, 0%, 58.4%)
CIE-LABlab(19.60, 17.60, -39.54)
CIE-LCHlch(19.60, 43.29, 294.00°)
OKLaboklab(31.35% -0.0052 -0.114)
OKLCHoklch(31.35% 0.114 267.4)
XYZxyz(3.8053, 2.8903, 13.9902)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A6A #6A5818
analogous
#18536A #182A6A #2F186A
triadic
#182A6A #6A182A #2A6A18
tetradic
#182A6A #6A1853 #6A5818 #186A2F
square
#182A6A #6A1853 #6A5818 #186A2F
split-complementary
#182A6A #6A2F18 #536A18
monochromatic
#060A19 #0D1638 #182A6A #233E9C #2F52CE

Accessibility & contrast

On white

13.31
#182A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#182A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A6A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A6A#FFFFFF#000000##FFFFFF
##182A6A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182a6a;
/* rgb */ color: rgb(24, 42, 106);
/* oklch */ color: oklch(31.3% 0.114 267.4);
Tailwind
colors: {
  custom: {
    50: '#626395',
    500: '#182a6a',
    950: '#000000',
  },
}
SCSS
$custom: #182a6a;
$custom-light: #626395;
$custom-dark: #000000;
JSON
{
  "hex": "#182a6a",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 226.829,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31349,
    "c": 0.11417,
    "h": 267.4
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#182A6A
secondary
#A08A3E
accent
#C242E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #182A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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