#181C70#181C70

#181C70 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.141 H 271.7°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#181C70
RGBrgb(24, 28, 112)
HSLhsl(237, 65%, 27%)
HSVhsv(237, 79%, 44%)
CMYKcmyk(78.6%, 75%, 0%, 56.1%)
CIE-LABlab(16.48, 29.72, -48.56)
CIE-LCHlch(16.48, 56.93, 301.46°)
OKLaboklab(29.24% 0.0041 -0.1405)
OKLCHoklch(29.24% 0.141 271.7)
XYZxyz(3.7156, 2.1942, 15.5538)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C70 #706C18
analogous
#184870 #181C70 #401870
triadic
#181C70 #70181C #1C7018
tetradic
#181C70 #701848 #706C18 #187040
square
#181C70 #701848 #706C18 #187040
split-complementary
#181C70 #704018 #487018
monochromatic
#050619 #0D0F3E #181C70 #2329A2 #3037D3

Accessibility & contrast

On white

14.59
#181C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#181C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C70
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C70#FFFFFF#000000##FFFFFF
##181C701.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181c70;
/* rgb */ color: rgb(24, 28, 112);
/* oklch */ color: oklch(29.2% 0.141 271.7);
Tailwind
colors: {
  custom: {
    50: '#65599a',
    500: '#181c70',
    950: '#000000',
  },
}
SCSS
$custom: #181c70;
$custom-light: #65599a;
$custom-dark: #000000;
JSON
{
  "hex": "#181c70",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 237.273,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29235,
    "c": 0.1406,
    "h": 271.7
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#181C70
secondary
#A5A13E
accent
#E040E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181C70

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

Preview Lab → · Contrast checker → · Palette generator →

#181C70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva