#102D7E#102D7E

#102D7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.141 H 264.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#102D7E
RGBrgb(16, 45, 126)
HSLhsl(224, 77%, 28%)
HSVhsv(224, 87%, 49%)
CMYKcmyk(87.3%, 64.3%, 0%, 50.6%)
CIE-LABlab(21.92, 22.86, -48.60)
CIE-LCHlch(21.92, 53.70, 295.19°)
OKLaboklab(33.55% -0.0134 -0.1407)
OKLCHoklch(33.55% 0.141 264.6)
XYZxyz(4.9166, 3.4927, 20.1496)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102D7E #7E6110
analogous
#10647E #102D7E #2A107E
triadic
#102D7E #7E102D #2D7E10
tetradic
#102D7E #7E1064 #7E6110 #107E2A
square
#102D7E #7E1064 #7E6110 #107E2A
split-complementary
#102D7E #7E2A10 #647E10
monochromatic
#030A1B #091A48 #102D7E #1740B4 #2557E3

Accessibility & contrast

On white

12.36
#102D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#102D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102D7E
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102D7E#FFFFFF#000000##FFFFFF
##102D7E1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #102d7e;
/* rgb */ color: rgb(16, 45, 126);
/* oklch */ color: oklch(33.5% 0.141 264.6);
Tailwind
colors: {
  custom: {
    50: '#6565a4',
    500: '#102d7e',
    950: '#000000',
  },
}
SCSS
$custom: #102d7e;
$custom-light: #6565a4;
$custom-dark: #000000;
JSON
{
  "hex": "#102d7e",
  "rgb": {
    "r": 16,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 224.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33545,
    "c": 0.14133,
    "h": 264.6
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#102D7E
secondary
#B49336
accent
#C134F4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #102D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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