#102066#102066

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

Color values

HEX#102066
RGBrgb(16, 32, 102)
HSLhsl(229, 73%, 23%)
HSVhsv(229, 84%, 40%)
CMYKcmyk(84.3%, 68.6%, 0%, 60%)
CIE-LABlab(16.01, 22.23, -42.80)
CIE-LCHlch(16.01, 48.23, 297.45°)
OKLaboklab(28.47% -0.0056 -0.1239)
OKLCHoklch(28.47% 0.124 267.4)
XYZxyz(3.1276, 2.1021, 12.8087)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102066 #665610
analogous
#104B66 #102066 #2B1066
triadic
#102066 #661020 #206610
tetradic
#102066 #66104B #665610 #10662B
square
#102066 #66104B #665610 #10662B
split-complementary
#102066 #662B10 #4B6610
monochromatic
#04081A #080F31 #102066 #18319B #2141D0

Accessibility & contrast

On white

14.78
#102066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#102066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102066
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102066#FFFFFF#000000##FFFFFF
##1020661.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #102066;
/* rgb */ color: rgb(16, 32, 102);
/* oklch */ color: oklch(28.5% 0.124 267.4);
Tailwind
colors: {
  custom: {
    50: '#5f5b92',
    500: '#102066',
    950: '#000000',
  },
}
SCSS
$custom: #102066;
$custom-light: #5f5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#102066",
  "rgb": {
    "r": 16,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 228.837,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28467,
    "c": 0.12403,
    "h": 267.4
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#102066
secondary
#9E8B33
accent
#CD38F0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #102066

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

Preview Lab → · Contrast checker → · Palette generator →

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