#151263#151263

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

Color values

HEX#151263
RGBrgb(21, 18, 99)
HSLhsl(242, 69%, 23%)
HSVhsv(242, 82%, 39%)
CMYKcmyk(78.8%, 81.8%, 0%, 61.2%)
CIE-LABlab(12.56, 30.89, -46.50)
CIE-LCHlch(12.56, 55.82, 303.60°)
OKLaboklab(25.96% 0.0078 -0.1345)
OKLCHoklch(25.96% 0.135 273.3)
XYZxyz(2.7769, 1.4926, 11.9437)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151263 #606312
analogous
#123763 #151263 #3D1263
triadic
#151263 #631512 #126315
tetradic
#151263 #631237 #606312 #12633D
square
#151263 #631237 #606312 #12633D
split-complementary
#151263 #633D12 #376312
monochromatic
#05051A #0A092F #151263 #201B97 #2B25CB

Accessibility & contrast

On white

16.17
#151263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151263
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151263#FFFFFF#000000##FFFFFF
##1512631.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001D62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151263;
/* rgb */ color: rgb(21, 18, 99);
/* oklch */ color: oklch(26.0% 0.135 273.3);
Tailwind
colors: {
  custom: {
    50: '#625190',
    500: '#151263',
    950: '#000000',
  },
}
SCSS
$custom: #151263;
$custom-light: #625190;
$custom-dark: #000000;
JSON
{
  "hex": "#151263",
  "rgb": {
    "r": 21,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 242.222,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.25957,
    "c": 0.13476,
    "h": 273.3
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#151263
secondary
#979B36
accent
#EC3CE6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #151263

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

Preview Lab → · Contrast checker → · Palette generator →

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