#151E69#151E69

#151E69 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.129 H 270.2°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#151E69
RGBrgb(21, 30, 105)
HSLhsl(234, 67%, 25%)
HSVhsv(234, 80%, 41%)
CMYKcmyk(80%, 71.4%, 0%, 58.8%)
CIE-LABlab(16.04, 25.38, -44.71)
CIE-LCHlch(16.04, 51.41, 299.57°)
OKLaboklab(28.65% 0.0004 -0.1294)
OKLCHoklch(28.65% 0.129 270.2)
XYZxyz(3.3225, 2.1075, 13.5936)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E69 #696015
analogous
#154869 #151E69 #361569
triadic
#151E69 #69151E #1E6915
tetradic
#151E69 #691548 #696015 #156936
square
#151E69 #691548 #696015 #156936
split-complementary
#151E69 #693615 #486915
monochromatic
#05071A #0B0F36 #151E69 #1F2D9C #293BCF

Accessibility & contrast

On white

14.77
#151E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E69
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E69#FFFFFF#000000##FFFFFF
##151E691.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151e69;
/* rgb */ color: rgb(21, 30, 105);
/* oklch */ color: oklch(28.6% 0.129 270.2);
Tailwind
colors: {
  custom: {
    50: '#625a95',
    500: '#151e69',
    950: '#000000',
  },
}
SCSS
$custom: #151e69;
$custom-light: #625a95;
$custom-dark: #000000;
JSON
{
  "hex": "#151e69",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 233.571,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2865,
    "c": 0.1294,
    "h": 270.2
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#151E69
secondary
#A0953A
accent
#D73EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151E69

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

Preview Lab → · Contrast checker → · Palette generator →

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