#151A74#151A74

#151A74 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.149 H 270.4°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#151A74
RGBrgb(21, 26, 116)
HSLhsl(237, 69%, 27%)
HSVhsv(237, 82%, 45%)
CMYKcmyk(81.9%, 77.6%, 0%, 54.5%)
CIE-LABlab(16.30, 32.20, -51.44)
CIE-LCHlch(16.30, 60.69, 302.04°)
OKLaboklab(29.2% 0.0009 -0.149)
OKLCHoklch(29.2% 0.149 270.4)
XYZxyz(3.8300, 2.1587, 16.7344)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A74 #746F15
analogous
#154A74 #151A74 #401574
triadic
#151A74 #74151A #1A7415
tetradic
#151A74 #74154A #746F15 #157440
square
#151A74 #74154A #746F15 #157440
split-complementary
#151A74 #744015 #4A7415
monochromatic
#05061A #0C0E40 #151A74 #1E26A8 #2B34D9

Accessibility & contrast

On white

14.67
#151A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#151A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A74
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A74#FFFFFF#000000##FFFFFF
##151A741.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151a74;
/* rgb */ color: rgb(21, 26, 116);
/* oklch */ color: oklch(29.2% 0.149 270.4);
Tailwind
colors: {
  custom: {
    50: '#66579d',
    500: '#151a74',
    950: '#000000',
  },
}
SCSS
$custom: #151a74;
$custom-light: #66579d;
$custom-dark: #000000;
JSON
{
  "hex": "#151a74",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 236.842,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29198,
    "c": 0.14899,
    "h": 270.4
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#151A74
secondary
#AAA43B
accent
#E33CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151A74

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

Preview Lab → · Contrast checker → · Palette generator →

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