#102064#102064

#102064 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.3% C 0.121 H 267.4°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#102064
RGBrgb(16, 32, 100)
HSLhsl(229, 72%, 23%)
HSVhsv(229, 84%, 39%)
CMYKcmyk(84%, 68%, 0%, 60.8%)
CIE-LABlab(15.81, 21.40, -41.81)
CIE-LCHlch(15.81, 46.97, 297.11°)
OKLaboklab(28.26% -0.0056 -0.121)
OKLCHoklch(28.26% 0.121 267.4)
XYZxyz(3.0296, 2.0629, 12.2926)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102064 #645410
analogous
#104A64 #102064 #2A1064
triadic
#102064 #641020 #206410
tetradic
#102064 #64104A #645410 #10642A
square
#102064 #64104A #645410 #10642A
split-complementary
#102064 #642A10 #4A6410
monochromatic
#04081A #080F2F #102064 #183199 #2142CE

Accessibility & contrast

On white

14.87
#102064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#102064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102064
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102064#FFFFFF#000000##FFFFFF
##1020641.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #102064;
/* rgb */ color: rgb(16, 32, 100);
/* oklch */ color: oklch(28.3% 0.121 267.4);
Tailwind
colors: {
  custom: {
    50: '#5f5b91',
    500: '#102064',
    950: '#000000',
  },
}
SCSS
$custom: #102064;
$custom-light: #5f5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#102064",
  "rgb": {
    "r": 16,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 228.571,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28258,
    "c": 0.12113,
    "h": 267.4
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#102064
secondary
#9D8933
accent
#CC39EF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #102064

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

Preview Lab → · Contrast checker → · Palette generator →

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