#181B63#181B63

#181B63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.6% C 0.124 H 273.1°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#181B63
RGBrgb(24, 27, 99)
HSLhsl(238, 61%, 24%)
HSVhsv(238, 76%, 39%)
CMYKcmyk(75.8%, 72.7%, 0%, 61.2%)
CIE-LABlab(14.84, 25.45, -42.74)
CIE-LCHlch(14.84, 49.74, 300.77°)
OKLaboklab(27.64% 0.0066 -0.1235)
OKLCHoklch(27.64% 0.124 273.1)
XYZxyz(3.0200, 1.8786, 12.0054)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B63 #636018
analogous
#184163 #181B63 #3B1863
triadic
#181B63 #63181B #1B6318
tetradic
#181B63 #631841 #636018 #18633B
square
#181B63 #631841 #636018 #18633B
split-complementary
#181B63 #633B18 #416318
monochromatic
#060719 #0C0E32 #181B63 #242894 #3036C6

Accessibility & contrast

On white

15.26
#181B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181B63
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B63#FFFFFF#000000##FFFFFF
##181B631.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181b63;
/* rgb */ color: rgb(24, 27, 99);
/* oklch */ color: oklch(27.6% 0.124 273.1);
Tailwind
colors: {
  custom: {
    50: '#625790',
    500: '#181b63',
    950: '#000000',
  },
}
SCSS
$custom: #181b63;
$custom-light: #625790;
$custom-dark: #000000;
JSON
{
  "hex": "#181b63",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 237.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27635,
    "c": 0.12373,
    "h": 273.1
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#181B63
secondary
#99963E
accent
#DE44E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #181B63

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

Preview Lab → · Contrast checker → · Palette generator →

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