#102255#102255

#102255 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.096 H 265.6°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#102255
RGBrgb(16, 34, 85)
HSLhsl(224, 68%, 20%)
HSVhsv(224, 81%, 33%)
CMYKcmyk(81.2%, 60%, 0%, 66.7%)
CIE-LABlab(15.01, 13.54, -33.12)
CIE-LCHlch(15.01, 35.78, 292.24°)
OKLaboklab(27.22% -0.0073 -0.0955)
OKLCHoklch(27.22% 0.096 265.6)
XYZxyz(2.4248, 1.9098, 8.8334)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102255 #554310
analogous
#104555 #102255 #211055
triadic
#102255 #551022 #225510
tetradic
#102255 #551045 #554310 #105521
square
#102255 #551045 #554310 #105521
split-complementary
#102255 #552110 #455510
monochromatic
#050A1A #060D21 #102255 #1A3789 #234BBC

Accessibility & contrast

On white

15.20
#102255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#102255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102255
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102255#FFFFFF#000000##FFFFFF
##1022551.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #102255;
/* rgb */ color: rgb(16, 34, 85);
/* oklch */ color: oklch(27.2% 0.096 265.6);
Tailwind
colors: {
  custom: {
    50: '#5a5c85',
    500: '#102255',
    950: '#000000',
  },
}
SCSS
$custom: #102255;
$custom-light: #5a5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#102255",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 224.348,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27224,
    "c": 0.09575,
    "h": 265.6
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#102255
secondary
#8F7632
accent
#BE3DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102255

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

Preview Lab → · Contrast checker → · Palette generator →

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