#181B67#181B67

#181B67 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.1% C 0.129 H 272.7°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#181B67
RGBrgb(24, 27, 103)
HSLhsl(238, 62%, 25%)
HSVhsv(238, 77%, 40%)
CMYKcmyk(76.7%, 73.8%, 0%, 59.6%)
CIE-LABlab(15.26, 26.98, -44.68)
CIE-LCHlch(15.26, 52.19, 301.12°)
OKLaboklab(28.07% 0.0061 -0.1292)
OKLCHoklch(28.07% 0.129 272.7)
XYZxyz(3.2160, 1.9570, 13.0376)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B67 #676418
analogous
#184267 #181B67 #3D1867
triadic
#181B67 #67181B #1B6718
tetradic
#181B67 #671842 #676418 #18673D
square
#181B67 #671842 #676418 #18673D
split-complementary
#181B67 #673D18 #426718
monochromatic
#060719 #0C0E35 #181B67 #242899 #2F35CA

Accessibility & contrast

On white

15.09
#181B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181B67
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B67#FFFFFF#000000##FFFFFF
##181B671.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181b67;
/* rgb */ color: rgb(24, 27, 103);
/* oklch */ color: oklch(28.1% 0.129 272.7);
Tailwind
colors: {
  custom: {
    50: '#635893',
    500: '#181b67',
    950: '#000000',
  },
}
SCSS
$custom: #181b67;
$custom-light: #635893;
$custom-dark: #000000;
JSON
{
  "hex": "#181b67",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 237.722,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28069,
    "c": 0.12937,
    "h": 272.7
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#181B67
secondary
#9D993E
accent
#DF43E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181B67

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

Preview Lab → · Contrast checker → · Palette generator →

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