#102281#102281

#102281 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.159 H 266.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#102281
RGBrgb(16, 34, 129)
HSLhsl(230, 78%, 28%)
HSVhsv(230, 88%, 51%)
CMYKcmyk(87.6%, 73.6%, 0%, 49.4%)
CIE-LABlab(19.39, 31.61, -54.66)
CIE-LCHlch(19.39, 63.14, 300.04°)
OKLaboklab(31.78% -0.0085 -0.1585)
OKLCHoklch(31.78% 0.159 266.9)
XYZxyz(4.7468, 2.8386, 21.0623)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102281 #816F10
analogous
#105A81 #102281 #361081
triadic
#102281 #811022 #228110
tetradic
#102281 #81105A #816F10 #108136
square
#102281 #81105A #816F10 #108136
split-complementary
#102281 #813610 #5A8110
monochromatic
#03071B #09144B #102281 #1730B7 #2745E4

Accessibility & contrast

On white

13.39
#102281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#102281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102281
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102281#FFFFFF#000000##FFFFFF
##1022811.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #102281;
/* rgb */ color: rgb(16, 34, 129);
/* oklch */ color: oklch(31.8% 0.159 266.9);
Tailwind
colors: {
  custom: {
    50: '#675da7',
    500: '#102281',
    950: '#000000',
  },
}
SCSS
$custom: #102281;
$custom-light: #675da7;
$custom-dark: #000000;
JSON
{
  "hex": "#102281",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 230.442,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31783,
    "c": 0.15869,
    "h": 266.9
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#102281
secondary
#B7A236
accent
#D633F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #102281

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

Preview Lab → · Contrast checker → · Palette generator →

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