#181965#181965

#181965 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.129 H 273.4°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#181965
RGBrgb(24, 25, 101)
HSLhsl(239, 62%, 25%)
HSVhsv(239, 76%, 40%)
CMYKcmyk(76.2%, 75.2%, 0%, 60.4%)
CIE-LABlab(14.56, 27.55, -44.51)
CIE-LCHlch(14.56, 52.35, 301.75°)
OKLaboklab(27.5% 0.0076 -0.1287)
OKLCHoklch(27.5% 0.129 273.4)
XYZxyz(3.0725, 1.8287, 12.5005)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181965 #656418
analogous
#184065 #181965 #3E1865
triadic
#181965 #651819 #196518
tetradic
#181965 #651840 #656418 #18653E
square
#181965 #651840 #656418 #18653E
split-complementary
#181965 #653E18 #406518
monochromatic
#060619 #0C0D34 #181965 #242596 #3031C8

Accessibility & contrast

On white

15.38
#181965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#181965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181965
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181965#FFFFFF#000000##FFFFFF
##1819651.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181965;
/* rgb */ color: rgb(24, 25, 101);
/* oklch */ color: oklch(27.5% 0.129 273.4);
Tailwind
colors: {
  custom: {
    50: '#625692',
    500: '#181965',
    950: '#000000',
  },
}
SCSS
$custom: #181965;
$custom-light: #625692;
$custom-dark: #000000;
JSON
{
  "hex": "#181965",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 239.221,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27502,
    "c": 0.12896,
    "h": 273.4
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#181965
secondary
#9B9A3E
accent
#E343E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181965

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

Preview Lab → · Contrast checker → · Palette generator →

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