#102654#102654

#102654 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.088 H 262.8°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#102654
RGBrgb(16, 38, 84)
HSLhsl(221, 68%, 20%)
HSVhsv(221, 81%, 33%)
CMYKcmyk(81%, 54.8%, 0%, 67.1%)
CIE-LABlab(16.19, 10.09, -30.54)
CIE-LCHlch(16.19, 32.16, 288.29°)
OKLaboklab(28.09% -0.0111 -0.0878)
OKLCHoklch(28.09% 0.088 262.8)
XYZxyz(2.5065, 2.1362, 8.6660)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102654 #543E10
analogous
#104854 #102654 #1C1054
triadic
#102654 #541026 #265410
tetradic
#102654 #541048 #543E10 #10541C
square
#102654 #541048 #543E10 #10541C
split-complementary
#102654 #541C10 #485410
monochromatic
#050C1A #060F21 #102654 #1A3D87 #2455BB

Accessibility & contrast

On white

14.71
#102654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#102654 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102654
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102654#FFFFFF#000000##FFFFFF
##1026541.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2B56
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #102654;
/* rgb */ color: rgb(16, 38, 84);
/* oklch */ color: oklch(28.1% 0.088 262.8);
Tailwind
colors: {
  custom: {
    50: '#5a5f84',
    500: '#102654',
    950: '#000000',
  },
}
SCSS
$custom: #102654;
$custom-light: #5a5f84;
$custom-dark: #000000;
JSON
{
  "hex": "#102654",
  "rgb": {
    "r": 16,
    "g": 38,
    "b": 84
  },
  "hsl": {
    "h": 220.588,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28092,
    "c": 0.08849,
    "h": 262.8
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#102654
secondary
#8E7032
accent
#B33DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102654

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

Preview Lab → · Contrast checker → · Palette generator →

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