#10154C#10154C

#10154C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.100 H 272.0°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#10154C
RGBrgb(16, 21, 76)
HSLhsl(235, 65%, 18%)
HSVhsv(235, 79%, 30%)
CMYKcmyk(78.9%, 72.4%, 0%, 70.2%)
CIE-LABlab(10.32, 19.48, -34.62)
CIE-LCHlch(10.32, 39.72, 299.37°)
OKLaboklab(23.48% 0.0034 -0.1)
OKLCHoklch(23.48% 0.1 272)
XYZxyz(1.7859, 1.1681, 6.9674)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10154C #4C4710
analogous
#10334C #10154C #29104C
triadic
#10154C #4C1015 #154C10
tetradic
#10154C #4C1033 #4C4710 #104C29
square
#10154C #4C1033 #4C4710 #104C29
split-complementary
#10154C #4C2910 #334C10
monochromatic
#050719 #050719 #10154C #1B237F #2531B1

Accessibility & contrast

On white

17.02
#10154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#10154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10154C
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10154C#FFFFFF#000000##FFFFFF
##10154C1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #10154c;
/* rgb */ color: rgb(16, 21, 76);
/* oklch */ color: oklch(23.5% 0.100 272.0);
Tailwind
colors: {
  custom: {
    50: '#59527f',
    500: '#10154c',
    950: '#000000',
  },
}
SCSS
$custom: #10154c;
$custom-light: #59527f;
$custom-dark: #000000;
JSON
{
  "hex": "#10154c",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 235,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23478,
    "c": 0.1001,
    "h": 272
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#10154C
secondary
#867F32
accent
#DA40E8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10154C

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

Preview Lab → · Contrast checker → · Palette generator →

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