#181C63#181C63

#181C63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.122 H 272.8°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#181C63
RGBrgb(24, 28, 99)
HSLhsl(237, 61%, 24%)
HSVhsv(237, 76%, 39%)
CMYKcmyk(75.8%, 71.7%, 0%, 61.2%)
CIE-LABlab(15.09, 24.76, -42.32)
CIE-LCHlch(15.09, 49.03, 300.33°)
OKLaboklab(27.82% 0.0059 -0.1223)
OKLCHoklch(27.82% 0.122 272.8)
XYZxyz(3.0433, 1.9252, 12.0132)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C63 #635F18
analogous
#184263 #181C63 #3A1863
triadic
#181C63 #63181C #1C6318
tetradic
#181C63 #631842 #635F18 #18633A
square
#181C63 #631842 #635F18 #18633A
split-complementary
#181C63 #633A18 #426318
monochromatic
#060719 #0C0E32 #181C63 #242A94 #3038C6

Accessibility & contrast

On white

15.16
#181C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#181C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C63
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C63#FFFFFF#000000##FFFFFF
##181C631.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181c63;
/* rgb */ color: rgb(24, 28, 99);
/* oklch */ color: oklch(27.8% 0.122 272.8);
Tailwind
colors: {
  custom: {
    50: '#625890',
    500: '#181c63',
    950: '#000000',
  },
}
SCSS
$custom: #181c63;
$custom-light: #625890;
$custom-dark: #000000;
JSON
{
  "hex": "#181c63",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 236.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27819,
    "c": 0.12247,
    "h": 272.8
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#181C63
secondary
#99943E
accent
#DC44E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #181C63

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

Preview Lab → · Contrast checker → · Palette generator →

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