#181865#181865

#181865 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.130 H 273.6°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#181865
RGBrgb(24, 24, 101)
HSLhsl(240, 62%, 25%)
HSVhsv(240, 76%, 40%)
CMYKcmyk(76.2%, 76.2%, 0%, 60.4%)
CIE-LABlab(14.33, 28.20, -44.90)
CIE-LCHlch(14.33, 53.02, 302.13°)
OKLaboklab(27.33% 0.0083 -0.1299)
OKLCHoklch(27.33% 0.13 273.6)
XYZxyz(3.0515, 1.7867, 12.4935)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181865 #656518
analogous
#183F65 #181865 #3F1865
triadic
#181865 #651818 #186518
tetradic
#181865 #65183F #656518 #18653F
square
#181865 #65183F #656518 #18653F
split-complementary
#181865 #653F18 #3F6518
monochromatic
#060619 #0C0C34 #181865 #242496 #3030C8

Accessibility & contrast

On white

15.47
#181865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#181865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181865
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181865#FFFFFF#000000##FFFFFF
##1818651.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181865;
/* rgb */ color: rgb(24, 24, 101);
/* oklch */ color: oklch(27.3% 0.130 273.6);
Tailwind
colors: {
  custom: {
    50: '#635592',
    500: '#181865',
    950: '#000000',
  },
}
SCSS
$custom: #181865;
$custom-light: #635592;
$custom-dark: #000000;
JSON
{
  "hex": "#181865",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 240,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27333,
    "c": 0.13012,
    "h": 273.6
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#181865
secondary
#9B9B3E
accent
#E543E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181865

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

Preview Lab → · Contrast checker → · Palette generator →

#181865 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva