#102154#102154

#102154 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.096 H 266.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#102154
RGBrgb(16, 33, 84)
HSLhsl(225, 68%, 20%)
HSVhsv(225, 81%, 33%)
CMYKcmyk(81%, 60.7%, 0%, 67.1%)
CIE-LABlab(14.61, 13.87, -33.09)
CIE-LCHlch(14.61, 35.87, 292.74°)
OKLaboklab(26.9% -0.0065 -0.0954)
OKLCHoklch(26.9% 0.096 266.1)
XYZxyz(2.3572, 1.8377, 8.6163)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102154 #544310
analogous
#104354 #102154 #211054
triadic
#102154 #541021 #215410
tetradic
#102154 #541043 #544310 #105421
square
#102154 #541043 #544310 #105421
split-complementary
#102154 #542110 #435410
monochromatic
#050A1A #060D21 #102154 #1A3587 #2449BB

Accessibility & contrast

On white

15.36
#102154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#102154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102154
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102154#FFFFFF#000000##FFFFFF
##1021541.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#002253
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #102154;
/* rgb */ color: rgb(16, 33, 84);
/* oklch */ color: oklch(26.9% 0.096 266.1);
Tailwind
colors: {
  custom: {
    50: '#5a5b85',
    500: '#102154',
    950: '#000000',
  },
}
SCSS
$custom: #102154;
$custom-light: #5a5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#102154",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 225,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26899,
    "c": 0.09561,
    "h": 266.1
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#102154
secondary
#8E7732
accent
#BF3DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102154

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

Preview Lab → · Contrast checker → · Palette generator →

#102154 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva