#182470#182470

#182470 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.131 H 269.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#182470
RGBrgb(24, 36, 112)
HSLhsl(232, 65%, 27%)
HSVhsv(232, 79%, 44%)
CMYKcmyk(78.6%, 67.9%, 0%, 56.1%)
CIE-LABlab(18.48, 24.31, -45.27)
CIE-LCHlch(18.48, 51.38, 298.24°)
OKLaboklab(30.69% -0.0007 -0.1309)
OKLCHoklch(30.69% 0.131 269.7)
XYZxyz(3.9312, 2.6254, 15.6257)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182470 #706418
analogous
#185070 #182470 #381870
triadic
#182470 #701824 #247018
tetradic
#182470 #701850 #706418 #187038
square
#182470 #701850 #706418 #187038
split-complementary
#182470 #703818 #507018
monochromatic
#050819 #0D143E #182470 #2334A2 #3046D3

Accessibility & contrast

On white

13.77
#182470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182470
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182470#FFFFFF#000000##FFFFFF
##1824701.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182470;
/* rgb */ color: rgb(24, 36, 112);
/* oklch */ color: oklch(30.7% 0.131 269.7);
Tailwind
colors: {
  custom: {
    50: '#645e9a',
    500: '#182470',
    950: '#000000',
  },
}
SCSS
$custom: #182470;
$custom-light: #645e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#182470",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 231.818,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30687,
    "c": 0.13091,
    "h": 269.7
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#182470
secondary
#A5973E
accent
#D140E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182470

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

Preview Lab → · Contrast checker → · Palette generator →

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