#151D6C#151D6C

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

Color values

HEX#151D6C
RGBrgb(21, 29, 108)
HSLhsl(234, 67%, 25%)
HSVhsv(234, 81%, 42%)
CMYKcmyk(80.6%, 73.1%, 0%, 57.6%)
CIE-LABlab(16.11, 27.23, -46.57)
CIE-LCHlch(16.11, 53.94, 300.32°)
OKLaboklab(28.79% 0.0007 -0.1348)
OKLCHoklch(28.79% 0.135 270.3)
XYZxyz(3.4545, 2.1205, 14.4117)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D6C #6C6415
analogous
#15486C #151D6C #39156C
triadic
#151D6C #6C151D #1D6C15
tetradic
#151D6C #6C1548 #6C6415 #156C39
square
#151D6C #6C1548 #6C6415 #156C39
split-complementary
#151D6C #6C3915 #486C15
monochromatic
#05071A #0B0F39 #151D6C #1F2B9F #2939D2

Accessibility & contrast

On white

14.75
#151D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151D6C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D6C#FFFFFF#000000##FFFFFF
##151D6C1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151d6c;
/* rgb */ color: rgb(21, 29, 108);
/* oklch */ color: oklch(28.8% 0.135 270.3);
Tailwind
colors: {
  custom: {
    50: '#635997',
    500: '#151d6c',
    950: '#000000',
  },
}
SCSS
$custom: #151d6c;
$custom-light: #635997;
$custom-dark: #000000;
JSON
{
  "hex": "#151d6c",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 234.483,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28793,
    "c": 0.13481,
    "h": 270.3
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#151D6C
secondary
#A3993A
accent
#DA3DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #151D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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