#182870#182870

#182870 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.126 H 268.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#182870
RGBrgb(24, 40, 112)
HSLhsl(229, 65%, 27%)
HSVhsv(229, 79%, 44%)
CMYKcmyk(78.6%, 64.3%, 0%, 56.1%)
CIE-LABlab(19.56, 21.49, -43.49)
CIE-LCHlch(19.56, 48.51, 296.29°)
OKLaboklab(31.49% -0.0035 -0.1257)
OKLCHoklch(31.49% 0.126 268.4)
XYZxyz(4.0591, 2.8812, 15.6683)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182870 #706018
analogous
#185470 #182870 #341870
triadic
#182870 #701828 #287018
tetradic
#182870 #701854 #706018 #187034
square
#182870 #701854 #706018 #187034
split-complementary
#182870 #703418 #547018
monochromatic
#050919 #0D163E #182870 #233AA2 #304DD3

Accessibility & contrast

On white

13.32
#182870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#182870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182870
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182870#FFFFFF#000000##FFFFFF
##1828701.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182870;
/* rgb */ color: rgb(24, 40, 112);
/* oklch */ color: oklch(31.5% 0.126 268.4);
Tailwind
colors: {
  custom: {
    50: '#64619a',
    500: '#182870',
    950: '#000000',
  },
}
SCSS
$custom: #182870;
$custom-light: #64619a;
$custom-dark: #000000;
JSON
{
  "hex": "#182870",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 229.091,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31487,
    "c": 0.12572,
    "h": 268.4
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#182870
secondary
#A5933E
accent
#C940E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182870

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

Preview Lab → · Contrast checker → · Palette generator →

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