#151A65#151A65

#151A65 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.129 H 271.5°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#151A65
RGBrgb(21, 26, 101)
HSLhsl(236, 66%, 24%)
HSVhsv(236, 79%, 40%)
CMYKcmyk(79.2%, 74.3%, 0%, 60.4%)
CIE-LABlab(14.61, 26.54, -44.44)
CIE-LCHlch(14.61, 51.76, 300.85°)
OKLaboklab(27.49% 0.0033 -0.1286)
OKLCHoklch(27.49% 0.129 271.5)
XYZxyz(3.0268, 1.8375, 12.5045)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A65 #656015
analogous
#154265 #151A65 #381565
triadic
#151A65 #65151A #1A6515
tetradic
#151A65 #651542 #656015 #156538
square
#151A65 #651542 #656015 #156538
split-complementary
#151A65 #653815 #426515
monochromatic
#050719 #0A0D32 #151A65 #202798 #2A34CA

Accessibility & contrast

On white

15.36
#151A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A65
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A65#FFFFFF#000000##FFFFFF
##151A651.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151a65;
/* rgb */ color: rgb(21, 26, 101);
/* oklch */ color: oklch(27.5% 0.129 271.5);
Tailwind
colors: {
  custom: {
    50: '#615792',
    500: '#151a65',
    950: '#000000',
  },
}
SCSS
$custom: #151a65;
$custom-light: #615792;
$custom-dark: #000000;
JSON
{
  "hex": "#151a65",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 236.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27485,
    "c": 0.12864,
    "h": 271.5
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#151A65
secondary
#9C963A
accent
#DE3FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151A65

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

Preview Lab → · Contrast checker → · Palette generator →

#151A65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva