#182570#182570

#182570 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.130 H 269.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#182570
RGBrgb(24, 37, 112)
HSLhsl(231, 65%, 27%)
HSVhsv(231, 79%, 44%)
CMYKcmyk(78.6%, 67%, 0%, 56.1%)
CIE-LABlab(18.74, 23.61, -44.83)
CIE-LCHlch(18.74, 50.67, 297.77°)
OKLaboklab(30.88% -0.0014 -0.1296)
OKLCHoklch(30.88% 0.13 269.4)
XYZxyz(3.9619, 2.6868, 15.6359)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182570 #706318
analogous
#185170 #182570 #371870
triadic
#182570 #701825 #257018
tetradic
#182570 #701851 #706318 #187037
square
#182570 #701851 #706318 #187037
split-complementary
#182570 #703718 #517018
monochromatic
#050819 #0D143E #182570 #2336A2 #3048D3

Accessibility & contrast

On white

13.66
#182570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182570
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182570#FFFFFF#000000##FFFFFF
##1825701.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182570;
/* rgb */ color: rgb(24, 37, 112);
/* oklch */ color: oklch(30.9% 0.130 269.4);
Tailwind
colors: {
  custom: {
    50: '#645f9a',
    500: '#182570',
    950: '#000000',
  },
}
SCSS
$custom: #182570;
$custom-light: #645f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#182570",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 112
  },
  "hsl": {
    "h": 231.136,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30883,
    "c": 0.12963,
    "h": 269.4
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#182570
secondary
#A5963E
accent
#CF40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182570

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

Preview Lab → · Contrast checker → · Palette generator →

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