#182D70#182D70

#182D70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.119 H 266.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#182D70
RGBrgb(24, 45, 112)
HSLhsl(226, 65%, 27%)
HSVhsv(226, 79%, 44%)
CMYKcmyk(78.6%, 59.8%, 0%, 56.1%)
CIE-LABlab(20.98, 17.91, -41.18)
CIE-LCHlch(20.98, 44.90, 293.50°)
OKLaboklab(32.55% -0.0073 -0.1188)
OKLCHoklch(32.55% 0.119 266.5)
XYZxyz(4.2387, 3.2404, 15.7282)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D70 #705B18
analogous
#185970 #182D70 #2F1870
triadic
#182D70 #70182D #2D7018
tetradic
#182D70 #701859 #705B18 #18702F
square
#182D70 #701859 #705B18 #18702F
split-complementary
#182D70 #702F18 #597018
monochromatic
#050A19 #0D193E #182D70 #2341A2 #3057D3

Accessibility & contrast

On white

12.74
#182D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D70
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D70#FFFFFF#000000##FFFFFF
##182D701.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182d70;
/* rgb */ color: rgb(24, 45, 112);
/* oklch */ color: oklch(32.5% 0.119 266.5);
Tailwind
colors: {
  custom: {
    50: '#64659a',
    500: '#182d70',
    950: '#000000',
  },
}
SCSS
$custom: #182d70;
$custom-light: #64659a;
$custom-dark: #000000;
JSON
{
  "hex": "#182d70",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 225.682,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.11903,
    "h": 266.5
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#182D70
secondary
#A58D3E
accent
#C040E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182D70

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

Preview Lab → · Contrast checker → · Palette generator →

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