#102A62#102A62

#102A62 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.105 H 263.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#102A62
RGBrgb(16, 42, 98)
HSLhsl(221, 72%, 22%)
HSVhsv(221, 84%, 38%)
CMYKcmyk(83.7%, 57.1%, 0%, 61.6%)
CIE-LABlab(18.57, 13.19, -35.99)
CIE-LCHlch(18.57, 38.33, 290.12°)
OKLaboklab(30.27% -0.0128 -0.1038)
OKLCHoklch(30.27% 0.105 263)
XYZxyz(3.2455, 2.6476, 11.8929)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A62 #624810
analogous
#105362 #102A62 #1F1062
triadic
#102A62 #62102A #2A6210
tetradic
#102A62 #621053 #624810 #10621F
square
#102A62 #621053 #624810 #10621F
split-complementary
#102A62 #621F10 #536210
monochromatic
#040B1A #07132D #102A62 #194197 #2157CB

Accessibility & contrast

On white

13.73
#102A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#102A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A62
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A62#FFFFFF#000000##FFFFFF
##102A621.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #102a62;
/* rgb */ color: rgb(16, 42, 98);
/* oklch */ color: oklch(30.3% 0.105 263.0);
Tailwind
colors: {
  custom: {
    50: '#5d638f',
    500: '#102a62',
    950: '#000000',
  },
}
SCSS
$custom: #102a62;
$custom-light: #5d638f;
$custom-dark: #000000;
JSON
{
  "hex": "#102a62",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 220.976,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30266,
    "c": 0.10456,
    "h": 263
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#102A62
secondary
#9B7A33
accent
#B539EF
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #102A62

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

Preview Lab → · Contrast checker → · Palette generator →

#102A62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva