#182E70#182E70

#182E70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.118 H 266.0°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#182E70
RGBrgb(24, 46, 112)
HSLhsl(225, 65%, 27%)
HSVhsv(225, 79%, 44%)
CMYKcmyk(78.6%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.27, 17.19, -40.70)
CIE-LCHlch(21.27, 44.18, 292.89°)
OKLaboklab(32.77% -0.0081 -0.1174)
OKLCHoklch(32.77% 0.118 266)
XYZxyz(4.2773, 3.3176, 15.7410)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E70 #705A18
analogous
#185A70 #182E70 #2E1870
triadic
#182E70 #70182E #2E7018
tetradic
#182E70 #70185A #705A18 #18702E
square
#182E70 #70185A #705A18 #18702E
split-complementary
#182E70 #702E18 #5A7018
monochromatic
#050A19 #0D193E #182E70 #2343A2 #3059D3

Accessibility & contrast

On white

12.62
#182E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E70
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E70#FFFFFF#000000##FFFFFF
##182E701.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182e70;
/* rgb */ color: rgb(24, 46, 112);
/* oklch */ color: oklch(32.8% 0.118 266.0);
Tailwind
colors: {
  custom: {
    50: '#63669a',
    500: '#182e70',
    950: '#000000',
  },
}
SCSS
$custom: #182e70;
$custom-light: #63669a;
$custom-dark: #000000;
JSON
{
  "hex": "#182e70",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 225,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32765,
    "c": 0.11767,
    "h": 266
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#182E70
secondary
#A58C3E
accent
#BE40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182E70

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

Preview Lab → · Contrast checker → · Palette generator →

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