#151F67#151F67

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

Color values

HEX#151F67
RGBrgb(21, 31, 103)
HSLhsl(233, 66%, 24%)
HSVhsv(233, 80%, 40%)
CMYKcmyk(79.6%, 69.9%, 0%, 59.6%)
CIE-LABlab(16.10, 23.89, -43.31)
CIE-LCHlch(16.10, 49.46, 298.87°)
OKLaboklab(28.63% 0 -0.1253)
OKLCHoklch(28.63% 0.125 270)
XYZxyz(3.2466, 2.1183, 13.0671)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F67 #675D15
analogous
#154867 #151F67 #341567
triadic
#151F67 #67151F #1F6715
tetradic
#151F67 #671548 #675D15 #156734
square
#151F67 #671548 #675D15 #156734
split-complementary
#151F67 #673415 #486715
monochromatic
#050819 #0B1034 #151F67 #1F2E9A #2A3ECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##151F67#FFFFFF#000000##FFFFFF
##151F671.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)
#002C69
Deuteranopia (green-blind)
#002466
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151f67;
/* rgb */ color: rgb(21, 31, 103);
/* oklch */ color: oklch(28.6% 0.125 270.0);
Tailwind
colors: {
  custom: {
    50: '#615a93',
    500: '#151f67',
    950: '#000000',
  },
}
SCSS
$custom: #151f67;
$custom-light: #615a93;
$custom-dark: #000000;
JSON
{
  "hex": "#151f67",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 232.683,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28627,
    "c": 0.1253,
    "h": 270
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#151F67
secondary
#9E923A
accent
#D43FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #151F67

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

Preview Lab → · Contrast checker → · Palette generator →

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