#181A75#181A75

#181A75 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.149 H 271.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#181A75
RGBrgb(24, 26, 117)
HSLhsl(239, 66%, 28%)
HSVhsv(239, 79%, 46%)
CMYKcmyk(79.5%, 77.8%, 0%, 54.1%)
CIE-LABlab(16.59, 32.82, -51.61)
CIE-LCHlch(16.59, 61.16, 302.45°)
OKLaboklab(29.48% 0.0043 -0.1494)
OKLCHoklch(29.48% 0.149 271.6)
XYZxyz(3.9559, 2.2169, 17.0456)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A75 #757318
analogous
#184875 #181A75 #451875
triadic
#181A75 #75181A #1A7518
tetradic
#181A75 #751848 #757318 #187545
square
#181A75 #751848 #757318 #187545
split-complementary
#181A75 #754518 #487518
monochromatic
#050619 #0E0F42 #181A75 #2225A8 #3236D5

Accessibility & contrast

On white

14.55
#181A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181A75
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A75#FFFFFF#000000##FFFFFF
##181A751.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181a75;
/* rgb */ color: rgb(24, 26, 117);
/* oklch */ color: oklch(29.5% 0.149 271.6);
Tailwind
colors: {
  custom: {
    50: '#67589e',
    500: '#181a75',
    950: '#000000',
  },
}
SCSS
$custom: #181a75;
$custom-light: #67589e;
$custom-dark: #000000;
JSON
{
  "hex": "#181a75",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 238.71,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29483,
    "c": 0.14946,
    "h": 271.6
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#181A75
secondary
#AAA83F
accent
#E53FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181A75

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

Preview Lab → · Contrast checker → · Palette generator →

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