#182A70#182A70

#182A70 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.123 H 267.7°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#182A70
RGBrgb(24, 42, 112)
HSLhsl(228, 65%, 27%)
HSVhsv(228, 79%, 44%)
CMYKcmyk(78.6%, 62.5%, 0%, 56.1%)
CIE-LABlab(20.12, 20.06, -42.58)
CIE-LCHlch(20.12, 47.07, 295.23°)
OKLaboklab(31.9% -0.005 -0.123)
OKLCHoklch(31.9% 0.123 267.7)
XYZxyz(4.1283, 3.0195, 15.6913)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A70 #705E18
analogous
#185670 #182A70 #321870
triadic
#182A70 #70182A #2A7018
tetradic
#182A70 #701856 #705E18 #187032
square
#182A70 #701856 #705E18 #187032
split-complementary
#182A70 #703218 #567018
monochromatic
#050919 #0D173E #182A70 #233DA2 #3051D3

Accessibility & contrast

On white

13.09
#182A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A70
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A70#FFFFFF#000000##FFFFFF
##182A701.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182a70;
/* rgb */ color: rgb(24, 42, 112);
/* oklch */ color: oklch(31.9% 0.123 267.7);
Tailwind
colors: {
  custom: {
    50: '#64639a',
    500: '#182a70',
    950: '#000000',
  },
}
SCSS
$custom: #182a70;
$custom-light: #64639a;
$custom-dark: #000000;
JSON
{
  "hex": "#182a70",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 227.727,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31903,
    "c": 0.12306,
    "h": 267.7
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#182A70
secondary
#A5903E
accent
#C540E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182A70

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

Preview Lab → · Contrast checker → · Palette generator →

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