#181266#181266

#181266 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.138 H 274.7°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#181266
RGBrgb(24, 18, 102)
HSLhsl(244, 70%, 24%)
HSVhsv(244, 82%, 40%)
CMYKcmyk(76.5%, 82.4%, 0%, 60%)
CIE-LABlab(13.14, 32.23, -47.51)
CIE-LCHlch(13.14, 57.41, 304.15°)
OKLaboklab(26.53% 0.0113 -0.1374)
OKLCHoklch(26.53% 0.138 274.7)
XYZxyz(2.9905, 1.5858, 12.7163)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181266 #606612
analogous
#123666 #181266 #421266
triadic
#181266 #661812 #126618
tetradic
#181266 #661236 #606612 #126642
square
#181266 #661236 #606612 #126642
split-complementary
#181266 #664212 #366612
monochromatic
#06051A #0C0932 #181266 #241B9A #3024CE

Accessibility & contrast

On white

15.94
#181266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#181266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181266
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181266#FFFFFF#000000##FFFFFF
##1812661.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#001E65
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181266;
/* rgb */ color: rgb(24, 18, 102);
/* oklch */ color: oklch(26.5% 0.138 274.7);
Tailwind
colors: {
  custom: {
    50: '#645293',
    500: '#181266',
    950: '#000000',
  },
}
SCSS
$custom: #181266;
$custom-light: #645293;
$custom-dark: #000000;
JSON
{
  "hex": "#181266",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 244.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26531,
    "c": 0.13787,
    "h": 274.7
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#181266
secondary
#969E36
accent
#ED3BE0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181266

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

Preview Lab → · Contrast checker → · Palette generator →

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