#102252#102252

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

Color values

HEX#102252
RGBrgb(16, 34, 82)
HSLhsl(224, 67%, 19%)
HSVhsv(224, 80%, 32%)
CMYKcmyk(80.5%, 58.5%, 0%, 67.8%)
CIE-LABlab(14.75, 12.24, -31.50)
CIE-LCHlch(14.75, 33.80, 291.23°)
OKLaboklab(26.95% -0.0076 -0.0907)
OKLCHoklch(26.95% 0.091 265.2)
XYZxyz(2.3082, 1.8632, 8.2190)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102252 #524010
analogous
#104352 #102252 #1F1052
triadic
#102252 #521022 #225210
tetradic
#102252 #521043 #524010 #10521F
square
#102252 #521043 #524010 #10521F
split-complementary
#102252 #521F10 #435210
monochromatic
#050B1A #060D1F #102252 #1A3785 #244CB8

Accessibility & contrast

On white

15.30
#102252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102252
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102252#FFFFFF#000000##FFFFFF
##1022521.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #102252;
/* rgb */ color: rgb(16, 34, 82);
/* oklch */ color: oklch(27.0% 0.091 265.2);
Tailwind
colors: {
  custom: {
    50: '#595c83',
    500: '#102252',
    950: '#000000',
  },
}
SCSS
$custom: #102252;
$custom-light: #595c83;
$custom-dark: #000000;
JSON
{
  "hex": "#102252",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 223.636,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26951,
    "c": 0.09104,
    "h": 265.2
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#102252
secondary
#8C7332
accent
#BB3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #102252

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

Preview Lab → · Contrast checker → · Palette generator →

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