#102251#102251

#102251 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.089 H 265.1°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#102251
RGBrgb(16, 34, 81)
HSLhsl(223, 67%, 19%)
HSVhsv(223, 80%, 32%)
CMYKcmyk(80.2%, 58%, 0%, 68.2%)
CIE-LABlab(14.67, 11.80, -30.96)
CIE-LCHlch(14.67, 33.13, 290.87°)
OKLaboklab(26.86% -0.0077 -0.0891)
OKLCHoklch(26.86% 0.089 265.1)
XYZxyz(2.2704, 1.8481, 8.0200)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102251 #513F10
analogous
#104351 #102251 #1F1051
triadic
#102251 #511022 #225110
tetradic
#102251 #511043 #513F10 #10511F
square
#102251 #511043 #513F10 #10511F
split-complementary
#102251 #511F10 #435110
monochromatic
#050B1A #060D1E #102251 #1A3784 #244DB7

Accessibility & contrast

On white

15.33
#102251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102251
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102251#FFFFFF#000000##FFFFFF
##1022511.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032853
Deuteranopia (green-blind)
#002250
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #102251;
/* rgb */ color: rgb(16, 34, 81);
/* oklch */ color: oklch(26.9% 0.089 265.1);
Tailwind
colors: {
  custom: {
    50: '#595c82',
    500: '#102251',
    950: '#000000',
  },
}
SCSS
$custom: #102251;
$custom-light: #595c82;
$custom-dark: #000000;
JSON
{
  "hex": "#102251",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 223.385,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26862,
    "c": 0.08945,
    "h": 265.1
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#102251
secondary
#8B7232
accent
#BA3EEA
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #102251

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

Preview Lab → · Contrast checker → · Palette generator →

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