#151E61#151E61

#151E61 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.118 H 270.5°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#151E61
RGBrgb(21, 30, 97)
HSLhsl(233, 64%, 23%)
HSVhsv(233, 78%, 38%)
CMYKcmyk(78.4%, 69.1%, 0%, 62%)
CIE-LABlab(15.23, 22.19, -40.78)
CIE-LCHlch(15.23, 46.43, 298.55°)
OKLaboklab(27.81% 0.0011 -0.1179)
OKLCHoklch(27.81% 0.118 270.5)
XYZxyz(2.9305, 1.9507, 11.5290)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E61 #615815
analogous
#154461 #151E61 #321561
triadic
#151E61 #61151E #1E6115
tetradic
#151E61 #611544 #615815 #156132
square
#151E61 #611544 #615815 #156132
split-complementary
#151E61 #613215 #446115
monochromatic
#050819 #0A0E2F #151E61 #202E93 #2B3DC6

Accessibility & contrast

On white

15.11
#151E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E61
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E61#FFFFFF#000000##FFFFFF
##151E611.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002360
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151e61;
/* rgb */ color: rgb(21, 30, 97);
/* oklch */ color: oklch(27.8% 0.118 270.5);
Tailwind
colors: {
  custom: {
    50: '#60598f',
    500: '#151e61',
    950: '#000000',
  },
}
SCSS
$custom: #151e61;
$custom-light: #60598f;
$custom-dark: #000000;
JSON
{
  "hex": "#151e61",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 97
  },
  "hsl": {
    "h": 232.895,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27806,
    "c": 0.1179,
    "h": 270.5
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#151E61
secondary
#988D3A
accent
#D440E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #151E61

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

Preview Lab → · Contrast checker → · Palette generator →

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