#181968#181968

#181968 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.133 H 273.1°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#181968
RGBrgb(24, 25, 104)
HSLhsl(239, 63%, 25%)
HSVhsv(239, 77%, 41%)
CMYKcmyk(76.9%, 76%, 0%, 59.2%)
CIE-LABlab(14.89, 28.67, -45.94)
CIE-LCHlch(14.89, 54.16, 301.97°)
OKLaboklab(27.84% 0.0071 -0.1329)
OKLCHoklch(27.84% 0.133 273.1)
XYZxyz(3.2222, 1.8886, 13.2887)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181968 #686718
analogous
#184168 #181968 #3F1868
triadic
#181968 #681819 #196818
tetradic
#181968 #681841 #686718 #18683F
square
#181968 #681841 #686718 #18683F
split-complementary
#181968 #683F18 #416818
monochromatic
#060619 #0D0D36 #181968 #23259A #2F31CB

Accessibility & contrast

On white

15.24
#181968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181968
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181968#FFFFFF#000000##FFFFFF
##1819681.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181968;
/* rgb */ color: rgb(24, 25, 104);
/* oklch */ color: oklch(27.8% 0.133 273.1);
Tailwind
colors: {
  custom: {
    50: '#635694',
    500: '#181968',
    950: '#000000',
  },
}
SCSS
$custom: #181968;
$custom-light: #635694;
$custom-dark: #000000;
JSON
{
  "hex": "#181968",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 239.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27837,
    "c": 0.1331,
    "h": 273.1
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#181968
secondary
#9E9D3E
accent
#E442E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181968

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

Preview Lab → · Contrast checker → · Palette generator →

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