#151A67#151A67

#151A67 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.131 H 271.3°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#151A67
RGBrgb(21, 26, 103)
HSLhsl(236, 66%, 24%)
HSVhsv(236, 80%, 40%)
CMYKcmyk(79.6%, 74.8%, 0%, 59.6%)
CIE-LABlab(14.83, 27.31, -45.40)
CIE-LCHlch(14.83, 52.98, 301.03°)
OKLaboklab(27.71% 0.003 -0.1314)
OKLCHoklch(27.71% 0.131 271.3)
XYZxyz(3.1260, 1.8772, 13.0269)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A67 #676215
analogous
#154367 #151A67 #391567
triadic
#151A67 #67151A #1A6715
tetradic
#151A67 #671543 #676215 #156739
square
#151A67 #671543 #676215 #156739
split-complementary
#151A67 #673915 #436715
monochromatic
#050619 #0B0D34 #151A67 #1F279A #2A34CD

Accessibility & contrast

On white

15.27
#151A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#151A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A67
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A67#FFFFFF#000000##FFFFFF
##151A671.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151a67;
/* rgb */ color: rgb(21, 26, 103);
/* oklch */ color: oklch(27.7% 0.131 271.3);
Tailwind
colors: {
  custom: {
    50: '#625793',
    500: '#151a67',
    950: '#000000',
  },
}
SCSS
$custom: #151a67;
$custom-light: #625793;
$custom-dark: #000000;
JSON
{
  "hex": "#151a67",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 236.341,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27708,
    "c": 0.13142,
    "h": 271.3
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#151A67
secondary
#9E983A
accent
#DF3FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151A67

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

Preview Lab → · Contrast checker → · Palette generator →

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