#102155#102155

#102155 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.097 H 266.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#102155
RGBrgb(16, 33, 85)
HSLhsl(225, 68%, 20%)
HSVhsv(225, 81%, 33%)
CMYKcmyk(81.2%, 61.2%, 0%, 66.7%)
CIE-LABlab(14.70, 14.30, -33.62)
CIE-LCHlch(14.70, 36.53, 293.04°)
OKLaboklab(26.99% -0.0065 -0.097)
OKLCHoklch(26.99% 0.097 266.2)
XYZxyz(2.3967, 1.8535, 8.8240)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102155 #554410
analogous
#104455 #102155 #211055
triadic
#102155 #551021 #215510
tetradic
#102155 #551044 #554410 #105521
square
#102155 #551044 #554410 #105521
split-complementary
#102155 #552110 #445510
monochromatic
#050A1A #060D21 #102155 #1A3589 #2349BC

Accessibility & contrast

On white

15.32
#102155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102155
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102155#FFFFFF#000000##FFFFFF
##1021551.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #102155;
/* rgb */ color: rgb(16, 33, 85);
/* oklch */ color: oklch(27.0% 0.097 266.2);
Tailwind
colors: {
  custom: {
    50: '#5a5b85',
    500: '#102155',
    950: '#000000',
  },
}
SCSS
$custom: #102155;
$custom-light: #5a5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#102155",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 225.217,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26992,
    "c": 0.09717,
    "h": 266.2
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#102155
secondary
#8F7832
accent
#C03DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102155

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

Preview Lab → · Contrast checker → · Palette generator →

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