#10154F#10154F

#10154F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.105 H 271.7°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#10154F
RGBrgb(16, 21, 79)
HSLhsl(235, 66%, 19%)
HSVhsv(235, 80%, 31%)
CMYKcmyk(79.7%, 73.4%, 0%, 69%)
CIE-LABlab(10.64, 20.71, -36.17)
CIE-LCHlch(10.64, 41.68, 299.80°)
OKLaboklab(23.81% 0.0031 -0.1046)
OKLCHoklch(23.81% 0.105 271.7)
XYZxyz(1.8927, 1.2108, 7.5296)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10154F #4F4A10
analogous
#10344F #10154F #2A104F
triadic
#10154F #4F1015 #154F10
tetradic
#10154F #4F1034 #4F4A10 #104F2A
square
#10154F #4F1034 #4F4A10 #104F2A
split-complementary
#10154F #4F2A10 #344F10
monochromatic
#050719 #06071C #10154F #1A2382 #2530B5

Accessibility & contrast

On white

16.91
#10154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#10154F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10154F
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10154F#FFFFFF#000000##FFFFFF
##10154F1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #10154f;
/* rgb */ color: rgb(16, 21, 79);
/* oklch */ color: oklch(23.8% 0.105 271.7);
Tailwind
colors: {
  custom: {
    50: '#5a5281',
    500: '#10154f',
    950: '#000000',
  },
}
SCSS
$custom: #10154f;
$custom-light: #5a5281;
$custom-dark: #000000;
JSON
{
  "hex": "#10154f",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 235.238,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23806,
    "c": 0.10462,
    "h": 271.7
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#10154F
secondary
#898232
accent
#DC3FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10154F

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

Preview Lab → · Contrast checker → · Palette generator →

#10154F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva