#151F69#151F69

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

Color values

HEX#151F69
RGBrgb(21, 31, 105)
HSLhsl(233, 67%, 25%)
HSVhsv(233, 80%, 41%)
CMYKcmyk(80%, 70.5%, 0%, 58.8%)
CIE-LABlab(16.30, 24.68, -44.29)
CIE-LCHlch(16.30, 50.70, 299.13°)
OKLaboklab(28.84% -0.0002 -0.1281)
OKLCHoklch(28.84% 0.128 269.9)
XYZxyz(3.3482, 2.1590, 13.6021)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F69 #695F15
analogous
#154969 #151F69 #351569
triadic
#151F69 #69151F #1F6915
tetradic
#151F69 #691549 #695F15 #156935
square
#151F69 #691549 #695F15 #156935
split-complementary
#151F69 #693515 #496915
monochromatic
#05081A #0B1036 #151F69 #1F2E9C #293DCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##151F69#FFFFFF#000000##FFFFFF
##151F691.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)
#002C6B
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151f69;
/* rgb */ color: rgb(21, 31, 105);
/* oklch */ color: oklch(28.8% 0.128 269.9);
Tailwind
colors: {
  custom: {
    50: '#625a95',
    500: '#151f69',
    950: '#000000',
  },
}
SCSS
$custom: #151f69;
$custom-light: #625a95;
$custom-dark: #000000;
JSON
{
  "hex": "#151f69",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 105
  },
  "hsl": {
    "h": 232.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28838,
    "c": 0.12815,
    "h": 269.9
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#151F69
secondary
#A0943A
accent
#D53EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #151F69

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

Preview Lab → · Contrast checker → · Palette generator →

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