#181A69#181A69

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

Color values

HEX#181A69
RGBrgb(24, 26, 105)
HSLhsl(239, 63%, 25%)
HSVhsv(239, 77%, 41%)
CMYKcmyk(77.1%, 75.2%, 0%, 58.8%)
CIE-LABlab(15.24, 28.39, -46.03)
CIE-LCHlch(15.24, 54.09, 301.67°)
OKLaboklab(28.12% 0.0064 -0.1332)
OKLCHoklch(28.12% 0.133 272.7)
XYZxyz(3.2950, 1.9526, 13.5651)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A69 #696718
analogous
#184269 #181A69 #3F1869
triadic
#181A69 #69181A #1A6918
tetradic
#181A69 #691842 #696718 #18693F
square
#181A69 #691842 #696718 #18693F
split-complementary
#181A69 #693F18 #426918
monochromatic
#060619 #0D0E37 #181A69 #23269B #2F33CD

Accessibility & contrast

On white

15.10
#181A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181A69
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A69#FFFFFF#000000##FFFFFF
##181A691.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181a69;
/* rgb */ color: rgb(24, 26, 105);
/* oklch */ color: oklch(28.1% 0.133 272.7);
Tailwind
colors: {
  custom: {
    50: '#635795',
    500: '#181a69',
    950: '#000000',
  },
}
SCSS
$custom: #181a69;
$custom-light: #635795;
$custom-dark: #000000;
JSON
{
  "hex": "#181a69",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 238.519,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28117,
    "c": 0.13332,
    "h": 272.7
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#181A69
secondary
#9F9D3E
accent
#E242E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181A69

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

Preview Lab → · Contrast checker → · Palette generator →

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