#182A66#182A66

#182A66 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.108 H 267.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#182A66
RGBrgb(24, 42, 102)
HSLhsl(226, 62%, 25%)
HSVhsv(226, 76%, 40%)
CMYKcmyk(76.5%, 58.8%, 0%, 60%)
CIE-LABlab(19.26, 15.95, -37.48)
CIE-LCHlch(19.26, 40.74, 293.06°)
OKLaboklab(30.99% -0.0054 -0.108)
OKLCHoklch(30.99% 0.108 267.1)
XYZxyz(3.6021, 2.8091, 12.9202)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A66 #665418
analogous
#185166 #182A66 #2D1866
triadic
#182A66 #66182A #2A6618
tetradic
#182A66 #661851 #665418 #18662D
square
#182A66 #661851 #665418 #18662D
split-complementary
#182A66 #662D18 #516618
monochromatic
#060A19 #0C1634 #182A66 #243E98 #2F53C9

Accessibility & contrast

On white

13.45
#182A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A66
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A66#FFFFFF#000000##FFFFFF
##182A661.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182a66;
/* rgb */ color: rgb(24, 42, 102);
/* oklch */ color: oklch(31.0% 0.108 267.1);
Tailwind
colors: {
  custom: {
    50: '#616392',
    500: '#182a66',
    950: '#000000',
  },
}
SCSS
$custom: #182a66;
$custom-light: #616392;
$custom-dark: #000000;
JSON
{
  "hex": "#182a66",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 226.154,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3099,
    "c": 0.10812,
    "h": 267.1
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#182A66
secondary
#9C863E
accent
#C043E5
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #182A66

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

Preview Lab → · Contrast checker → · Palette generator →

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