#151FA0#151FA0

#151FA0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.199 H 267.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#151FA0
RGBrgb(21, 31, 160)
HSLhsl(236, 77%, 35%)
HSVhsv(236, 87%, 63%)
CMYKcmyk(86.9%, 80.6%, 0%, 37.3%)
CIE-LABlab(22.57, 44.73, -68.63)
CIE-LCHlch(22.57, 81.92, 303.10°)
OKLaboklab(35.16% -0.0079 -0.1989)
OKLCHoklch(35.16% 0.199 267.7)
XYZxyz(7.1422, 3.6766, 33.5841)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151FA0 #A09615
analogous
#1565A0 #151FA0 #5015A0
triadic
#151FA0 #A0151F #1FA015
tetradic
#151FA0 #A01565 #A09615 #15A050
square
#151FA0 #A01565 #A09615 #15A050
split-complementary
#151FA0 #A05015 #65A015
monochromatic
#070A34 #0E156A #151FA0 #1C29D6 #4854E7

Accessibility & contrast

On white

12.10
#151FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#151FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151FA0
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151FA0#FFFFFF#000000##FFFFFF
##151FA01.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #151fa0;
/* rgb */ color: rgb(21, 31, 160);
/* oklch */ color: oklch(35.2% 0.199 267.7);
Tailwind
colors: {
  custom: {
    50: '#725dbe',
    500: '#151fa0',
    950: '#000000',
  },
}
SCSS
$custom: #151fa0;
$custom-light: #725dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#151fa0",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 235.683,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35158,
    "c": 0.19902,
    "h": 267.7
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#151FA0
secondary
#C8BF49
accent
#E634F3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #151FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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