#181C60#181C60

#181C60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.118 H 273.0°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#181C60
RGBrgb(24, 28, 96)
HSLhsl(237, 60%, 24%)
HSVhsv(237, 75%, 38%)
CMYKcmyk(75%, 70.8%, 0%, 62.4%)
CIE-LABlab(14.78, 23.60, -40.83)
CIE-LCHlch(14.78, 47.16, 300.02°)
OKLaboklab(27.5% 0.0063 -0.118)
OKLCHoklch(27.5% 0.118 273)
XYZxyz(2.9026, 1.8689, 11.2718)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C60 #605C18
analogous
#184060 #181C60 #381860
triadic
#181C60 #60181C #1C6018
tetradic
#181C60 #601840 #605C18 #186038
square
#181C60 #601840 #605C18 #186038
split-complementary
#181C60 #603818 #406018
monochromatic
#060718 #0C0E2F #181C60 #242A91 #3039C2

Accessibility & contrast

On white

15.29
#181C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#181C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C60
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C60#FFFFFF#000000##FFFFFF
##181C601.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181c60;
/* rgb */ color: rgb(24, 28, 96);
/* oklch */ color: oklch(27.5% 0.118 273.0);
Tailwind
colors: {
  custom: {
    50: '#61588e',
    500: '#181c60',
    950: '#000000',
  },
}
SCSS
$custom: #181c60;
$custom-light: #61588e;
$custom-dark: #000000;
JSON
{
  "hex": "#181c60",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 236.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27503,
    "c": 0.11815,
    "h": 273
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#181C60
secondary
#96913D
accent
#DA45E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #181C60

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

Preview Lab → · Contrast checker → · Palette generator →

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