#181A65#181A65

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

Color values

HEX#181A65
RGBrgb(24, 26, 101)
HSLhsl(238, 62%, 25%)
HSVhsv(238, 76%, 40%)
CMYKcmyk(76.2%, 74.3%, 0%, 60.4%)
CIE-LABlab(14.80, 26.88, -44.12)
CIE-LCHlch(14.80, 51.66, 301.36°)
OKLaboklab(27.68% 0.007 -0.1276)
OKLCHoklch(27.68% 0.128 273.1)
XYZxyz(3.0943, 1.8723, 12.5077)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A65 #656318
analogous
#184065 #181A65 #3D1865
triadic
#181A65 #65181A #1A6518
tetradic
#181A65 #651840 #656318 #18653D
square
#181A65 #651840 #656318 #18653D
split-complementary
#181A65 #653D18 #406518
monochromatic
#060619 #0C0D34 #181A65 #242796 #3033C8

Accessibility & contrast

On white

15.28
#181A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181A65
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A65#FFFFFF#000000##FFFFFF
##181A651.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181a65;
/* rgb */ color: rgb(24, 26, 101);
/* oklch */ color: oklch(27.7% 0.128 273.1);
Tailwind
colors: {
  custom: {
    50: '#625792',
    500: '#181a65',
    950: '#000000',
  },
}
SCSS
$custom: #181a65;
$custom-light: #625792;
$custom-dark: #000000;
JSON
{
  "hex": "#181a65",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 238.442,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27675,
    "c": 0.12777,
    "h": 273.1
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#181A65
secondary
#9B993E
accent
#E143E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181A65

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

Preview Lab → · Contrast checker → · Palette generator →

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