#151D6B#151D6B

#151D6B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.133 H 270.3°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#151D6B
RGBrgb(21, 29, 107)
HSLhsl(234, 67%, 25%)
HSVhsv(234, 80%, 42%)
CMYKcmyk(80.4%, 72.9%, 0%, 58%)
CIE-LABlab(16.00, 26.84, -46.09)
CIE-LCHlch(16.00, 53.34, 300.21°)
OKLaboklab(28.68% 0.0008 -0.1334)
OKLCHoklch(28.68% 0.133 270.3)
XYZxyz(3.4016, 2.0993, 14.1330)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D6B #6B6315
analogous
#15486B #151D6B #38156B
triadic
#151D6B #6B151D #1D6B15
tetradic
#151D6B #6B1548 #6B6315 #156B38
square
#151D6B #6B1548 #6B6315 #156B38
split-complementary
#151D6B #6B3815 #486B15
monochromatic
#05071A #0B0F38 #151D6B #1F2B9E #2939D1

Accessibility & contrast

On white

14.79
#151D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#151D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D6B
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D6B#FFFFFF#000000##FFFFFF
##151D6B1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151d6b;
/* rgb */ color: rgb(21, 29, 107);
/* oklch */ color: oklch(28.7% 0.133 270.3);
Tailwind
colors: {
  custom: {
    50: '#635996',
    500: '#151d6b',
    950: '#000000',
  },
}
SCSS
$custom: #151d6b;
$custom-light: #635996;
$custom-dark: #000000;
JSON
{
  "hex": "#151d6b",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 234.419,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28683,
    "c": 0.13342,
    "h": 270.3
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#151D6B
secondary
#A2983A
accent
#DA3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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