#182770#182770

#182770 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.127 H 268.7°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#182770
RGBrgb(24, 39, 112)
HSLhsl(230, 65%, 27%)
HSVhsv(230, 79%, 44%)
CMYKcmyk(78.6%, 65.2%, 0%, 56.1%)
CIE-LABlab(19.29, 22.20, -43.94)
CIE-LCHlch(19.29, 49.23, 296.80°)
OKLaboklab(31.28% -0.0028 -0.127)
OKLCHoklch(31.28% 0.127 268.7)
XYZxyz(4.0258, 2.8146, 15.6572)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182770 #706118
analogous
#185370 #182770 #351870
triadic
#182770 #701827 #277018
tetradic
#182770 #701853 #706118 #187035
square
#182770 #701853 #706118 #187035
split-complementary
#182770 #703518 #537018
monochromatic
#050919 #0D153E #182770 #2339A2 #304CD3

Accessibility & contrast

On white

13.44
#182770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182770
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182770#FFFFFF#000000##FFFFFF
##1827701.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182770;
/* rgb */ color: rgb(24, 39, 112);
/* oklch */ color: oklch(31.3% 0.127 268.7);
Tailwind
colors: {
  custom: {
    50: '#64619a',
    500: '#182770',
    950: '#000000',
  },
}
SCSS
$custom: #182770;
$custom-light: #64619a;
$custom-dark: #000000;
JSON
{
  "hex": "#182770",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 229.773,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31283,
    "c": 0.12703,
    "h": 268.7
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#182770
secondary
#A5943E
accent
#CB40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182770

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

Preview Lab → · Contrast checker → · Palette generator →

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