#151E6E#151E6E

#151E6E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.136 H 270.0°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#151E6E
RGBrgb(21, 30, 110)
HSLhsl(234, 68%, 26%)
HSVhsv(234, 81%, 43%)
CMYKcmyk(80.9%, 72.7%, 0%, 56.9%)
CIE-LABlab(16.57, 27.33, -47.11)
CIE-LCHlch(16.57, 54.46, 300.12°)
OKLaboklab(29.19% -0.0001 -0.1364)
OKLCHoklch(29.19% 0.136 270)
XYZxyz(3.5870, 2.2134, 14.9870)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E6E #6E6515
analogous
#154A6E #151E6E #39156E
triadic
#151E6E #6E151E #1E6E15
tetradic
#151E6E #6E154A #6E6515 #156E39
square
#151E6E #6E154A #6E6515 #156E39
split-complementary
#151E6E #6E3915 #4A6E15
monochromatic
#05071A #0B103B #151E6E #1F2CA1 #293AD5

Accessibility & contrast

On white

14.56
#151E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#151E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E6E
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E6E#FFFFFF#000000##FFFFFF
##151E6E1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #151e6e;
/* rgb */ color: rgb(21, 30, 110);
/* oklch */ color: oklch(29.2% 0.136 270.0);
Tailwind
colors: {
  custom: {
    50: '#635a98',
    500: '#151e6e',
    950: '#000000',
  },
}
SCSS
$custom: #151e6e;
$custom-light: #635a98;
$custom-dark: #000000;
JSON
{
  "hex": "#151e6e",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 233.933,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29192,
    "c": 0.13639,
    "h": 270
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#151E6E
secondary
#A49A3A
accent
#D93DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #151E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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