#102054#102054

#102054 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.097 H 266.7°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#102054
RGBrgb(16, 32, 84)
HSLhsl(226, 68%, 20%)
HSVhsv(226, 81%, 33%)
CMYKcmyk(81%, 61.9%, 0%, 67.1%)
CIE-LABlab(14.30, 14.62, -33.59)
CIE-LCHlch(14.30, 36.63, 293.53°)
OKLaboklab(26.67% -0.0057 -0.0969)
OKLCHoklch(26.67% 0.097 266.7)
XYZxyz(2.3299, 1.7830, 8.6072)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102054 #544410
analogous
#104254 #102054 #221054
triadic
#102054 #541020 #205410
tetradic
#102054 #541042 #544410 #105422
square
#102054 #541042 #544410 #105422
split-complementary
#102054 #542210 #425410
monochromatic
#050A1A #060C21 #102054 #1A3487 #2447BB

Accessibility & contrast

On white

15.48
#102054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#102054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102054
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102054#FFFFFF#000000##FFFFFF
##1020541.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #102054;
/* rgb */ color: rgb(16, 32, 84);
/* oklch */ color: oklch(26.7% 0.097 266.7);
Tailwind
colors: {
  custom: {
    50: '#5a5b85',
    500: '#102054',
    950: '#000000',
  },
}
SCSS
$custom: #102054;
$custom-light: #5a5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#102054",
  "rgb": {
    "r": 16,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 225.882,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26668,
    "c": 0.09705,
    "h": 266.7
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#102054
secondary
#8E7832
accent
#C23DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102054

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

Preview Lab → · Contrast checker → · Palette generator →

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