#182C70#182C70

#182C70 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.3% C 0.120 H 266.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#182C70
RGBrgb(24, 44, 112)
HSLhsl(226, 65%, 27%)
HSVhsv(226, 79%, 44%)
CMYKcmyk(78.6%, 60.7%, 0%, 56.1%)
CIE-LABlab(20.69, 18.63, -41.65)
CIE-LCHlch(20.69, 45.62, 294.10°)
OKLaboklab(32.33% -0.0065 -0.1202)
OKLCHoklch(32.33% 0.12 266.9)
XYZxyz(4.2010, 3.1649, 15.7156)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C70 #705C18
analogous
#185870 #182C70 #301870
triadic
#182C70 #70182C #2C7018
tetradic
#182C70 #701858 #705C18 #187030
square
#182C70 #701858 #705C18 #187030
split-complementary
#182C70 #703018 #587018
monochromatic
#050A19 #0D183E #182C70 #2340A2 #3055D3

Accessibility & contrast

On white

12.86
#182C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182C70
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C70#FFFFFF#000000##FFFFFF
##182C701.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182c70;
/* rgb */ color: rgb(24, 44, 112);
/* oklch */ color: oklch(32.3% 0.120 266.9);
Tailwind
colors: {
  custom: {
    50: '#64649a',
    500: '#182c70',
    950: '#000000',
  },
}
SCSS
$custom: #182c70;
$custom-light: #64649a;
$custom-dark: #000000;
JSON
{
  "hex": "#182c70",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 226.364,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32329,
    "c": 0.12038,
    "h": 266.9
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#182C70
secondary
#A58E3E
accent
#C240E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182C70

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

Preview Lab → · Contrast checker → · Palette generator →

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