#181264#181264

#181264 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.135 H 275.0°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#181264
RGBrgb(24, 18, 100)
HSLhsl(244, 69%, 23%)
HSVhsv(244, 82%, 39%)
CMYKcmyk(76%, 82%, 0%, 60.8%)
CIE-LABlab(12.90, 31.53, -46.59)
CIE-LCHlch(12.90, 56.26, 304.09°)
OKLaboklab(26.29% 0.0118 -0.1347)
OKLCHoklch(26.29% 0.135 275)
XYZxyz(2.8925, 1.5466, 12.2002)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181264 #5E6412
analogous
#123564 #181264 #411264
triadic
#181264 #641812 #126418
tetradic
#181264 #641235 #5E6412 #126441
square
#181264 #641235 #5E6412 #126441
split-complementary
#181264 #644112 #356412
monochromatic
#06051A #0C0930 #181264 #241B98 #3125CC

Accessibility & contrast

On white

16.04
#181264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181264
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181264#FFFFFF#000000##FFFFFF
##1812641.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001E63
Tritanopia (blue-blind)
#002B3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181264;
/* rgb */ color: rgb(24, 18, 100);
/* oklch */ color: oklch(26.3% 0.135 275.0);
Tailwind
colors: {
  custom: {
    50: '#635291',
    500: '#181264',
    950: '#000000',
  },
}
SCSS
$custom: #181264;
$custom-light: #635291;
$custom-dark: #000000;
JSON
{
  "hex": "#181264",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 244.39,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2629,
    "c": 0.13524,
    "h": 275
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#181264
secondary
#949C36
accent
#EC3BDF
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181264

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

Preview Lab → · Contrast checker → · Palette generator →

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