#181268#181268

#181268 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.140 H 274.4°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#181268
RGBrgb(24, 18, 104)
HSLhsl(244, 70%, 24%)
HSVhsv(244, 83%, 41%)
CMYKcmyk(76.9%, 82.7%, 0%, 59.2%)
CIE-LABlab(13.39, 32.92, -48.43)
CIE-LCHlch(13.39, 58.56, 304.21°)
OKLaboklab(26.77% 0.0107 -0.1401)
OKLCHoklch(26.77% 0.14 274.4)
XYZxyz(3.0909, 1.6260, 13.2450)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181268 #626812
analogous
#123768 #181268 #431268
triadic
#181268 #681812 #126818
tetradic
#181268 #681237 #626812 #126843
square
#181268 #681237 #626812 #126843
split-complementary
#181268 #684312 #376812
monochromatic
#06051A #0C0934 #181268 #241B9C #3024D0

Accessibility & contrast

On white

15.85
#181268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#181268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181268
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181268#FFFFFF#000000##FFFFFF
##1812681.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001E67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181268;
/* rgb */ color: rgb(24, 18, 104);
/* oklch */ color: oklch(26.8% 0.140 274.4);
Tailwind
colors: {
  custom: {
    50: '#645294',
    500: '#181268',
    950: '#000000',
  },
}
SCSS
$custom: #181268;
$custom-light: #645294;
$custom-dark: #000000;
JSON
{
  "hex": "#181268",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 244.186,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26773,
    "c": 0.14048,
    "h": 274.4
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#181268
secondary
#98A036
accent
#ED3BE1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181268

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

Preview Lab → · Contrast checker → · Palette generator →

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