#182970#182970

#182970 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.124 H 268.0°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#182970
RGBrgb(24, 41, 112)
HSLhsl(228, 65%, 27%)
HSVhsv(228, 79%, 44%)
CMYKcmyk(78.6%, 63.4%, 0%, 56.1%)
CIE-LABlab(19.84, 20.77, -43.04)
CIE-LCHlch(19.84, 47.79, 295.77°)
OKLaboklab(31.69% -0.0042 -0.1243)
OKLCHoklch(31.69% 0.124 268)
XYZxyz(4.0932, 2.9495, 15.6797)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182970 #705F18
analogous
#185570 #182970 #331870
triadic
#182970 #701829 #297018
tetradic
#182970 #701855 #705F18 #187033
square
#182970 #701855 #705F18 #187033
split-complementary
#182970 #703318 #557018
monochromatic
#050919 #0D173E #182970 #233BA2 #304FD3

Accessibility & contrast

On white

13.21
#182970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#182970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182970
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182970#FFFFFF#000000##FFFFFF
##1829701.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182970;
/* rgb */ color: rgb(24, 41, 112);
/* oklch */ color: oklch(31.7% 0.124 268.0);
Tailwind
colors: {
  custom: {
    50: '#64629a',
    500: '#182970',
    950: '#000000',
  },
}
SCSS
$custom: #182970;
$custom-light: #64629a;
$custom-dark: #000000;
JSON
{
  "hex": "#182970",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 228.409,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31694,
    "c": 0.12439,
    "h": 268
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#182970
secondary
#A5923E
accent
#C740E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182970

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

Preview Lab → · Contrast checker → · Palette generator →

#182970 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva