#10154E#10154E

#10154E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.103 H 271.8°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#10154E
RGBrgb(16, 21, 78)
HSLhsl(235, 66%, 18%)
HSVhsv(235, 79%, 31%)
CMYKcmyk(79.5%, 73.1%, 0%, 69.4%)
CIE-LABlab(10.53, 20.30, -35.65)
CIE-LCHlch(10.53, 41.03, 299.65°)
OKLaboklab(23.7% 0.0032 -0.1031)
OKLCHoklch(23.7% 0.103 271.8)
XYZxyz(1.8565, 1.1964, 7.3393)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10154E #4E4910
analogous
#10344E #10154E #2A104E
triadic
#10154E #4E1015 #154E10
tetradic
#10154E #4E1034 #4E4910 #104E2A
square
#10154E #4E1034 #4E4910 #104E2A
split-complementary
#10154E #4E2A10 #344E10
monochromatic
#050719 #06071B #10154E #1A2381 #2530B4

Accessibility & contrast

On white

16.94
#10154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10154E
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10154E#FFFFFF#000000##FFFFFF
##10154E1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #10154e;
/* rgb */ color: rgb(16, 21, 78);
/* oklch */ color: oklch(23.7% 0.103 271.8);
Tailwind
colors: {
  custom: {
    50: '#595280',
    500: '#10154e',
    950: '#000000',
  },
}
SCSS
$custom: #10154e;
$custom-light: #595280;
$custom-dark: #000000;
JSON
{
  "hex": "#10154e",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 235.161,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23696,
    "c": 0.10312,
    "h": 271.8
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#10154E
secondary
#888132
accent
#DB3FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10154E

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

Preview Lab → · Contrast checker → · Palette generator →

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