#151B30#151B30

#151B30 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.8% C 0.042 H 270.7°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#151B30
RGBrgb(21, 27, 48)
HSLhsl(227, 39%, 14%)
HSVhsv(227, 56%, 19%)
CMYKcmyk(56.2%, 43.8%, 0%, 81.2%)
CIE-LABlab(10.23, 4.46, -14.87)
CIE-LCHlch(10.23, 15.52, 286.69°)
OKLaboklab(22.77% 0.0005 -0.0419)
OKLCHoklch(22.77% 0.042 270.7)
XYZxyz(1.2345, 1.1566, 2.9539)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B30 #302A15
analogous
#152830 #151B30 #1C1530
triadic
#151B30 #30151B #1B3015
tetradic
#151B30 #301528 #302A15 #15301C
square
#151B30 #301528 #302A15 #15301C
split-complementary
#151B30 #301C15 #283015
monochromatic
#090C15 #090C15 #151B30 #28335B #3A4B85

Accessibility & contrast

On white

17.05
#151B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B30
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B30#FFFFFF#000000##FFFFFF
##151B301.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131D31
Deuteranopia (green-blind)
#111B30
Tritanopia (blue-blind)
#0B1F23
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151b30;
/* rgb */ color: rgb(21, 27, 48);
/* oklch */ color: oklch(22.8% 0.042 270.7);
Tailwind
colors: {
  custom: {
    50: '#545768',
    500: '#151b30',
    950: '#000000',
  },
}
SCSS
$custom: #151b30;
$custom-light: #545768;
$custom-dark: #000000;
JSON
{
  "hex": "#151b30",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 48
  },
  "hsl": {
    "h": 226.667,
    "s": 39.13,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22774,
    "c": 0.04187,
    "h": 270.7
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#151B30
secondary
#665D3A
accent
#B559CF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151B30

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

Preview Lab → · Contrast checker → · Palette generator →

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