#151268#151268

#151268 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.141 H 272.7°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#151268
RGBrgb(21, 18, 104)
HSLhsl(242, 70%, 24%)
HSVhsv(242, 83%, 41%)
CMYKcmyk(79.8%, 82.7%, 0%, 59.2%)
CIE-LABlab(13.18, 32.66, -48.78)
CIE-LCHlch(13.18, 58.71, 303.80°)
OKLaboklab(26.57% 0.0066 -0.1412)
OKLCHoklch(26.57% 0.141 272.7)
XYZxyz(3.0234, 1.5912, 13.2418)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151268 #656812
analogous
#123A68 #151268 #401268
triadic
#151268 #681512 #126815
tetradic
#151268 #68123A #656812 #126840
square
#151268 #68123A #656812 #126840
split-complementary
#151268 #684012 #3A6812
monochromatic
#05051A #0A0934 #151268 #201B9C #2A24D0

Accessibility & contrast

On white

15.93
#151268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151268
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151268#FFFFFF#000000##FFFFFF
##1512681.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.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: #151268;
/* rgb */ color: rgb(21, 18, 104);
/* oklch */ color: oklch(26.6% 0.141 272.7);
Tailwind
colors: {
  custom: {
    50: '#635294',
    500: '#151268',
    950: '#000000',
  },
}
SCSS
$custom: #151268;
$custom-light: #635294;
$custom-dark: #000000;
JSON
{
  "hex": "#151268",
  "rgb": {
    "r": 21,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 242.093,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2657,
    "c": 0.14134,
    "h": 272.7
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#151268
secondary
#9CA036
accent
#ED3BE7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #151268

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

Preview Lab → · Contrast checker → · Palette generator →

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