#102C7E#102C7E

#102C7E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.143 H 264.8°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#102C7E
RGBrgb(16, 44, 126)
HSLhsl(225, 77%, 28%)
HSVhsv(225, 87%, 49%)
CMYKcmyk(87.3%, 65.1%, 0%, 50.6%)
CIE-LABlab(21.64, 23.57, -49.05)
CIE-LCHlch(21.64, 54.41, 295.66°)
OKLaboklab(33.34% -0.0128 -0.142)
OKLCHoklch(33.34% 0.143 264.8)
XYZxyz(4.8789, 3.4173, 20.1371)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102C7E #7E6210
analogous
#10637E #102C7E #2B107E
triadic
#102C7E #7E102C #2C7E10
tetradic
#102C7E #7E1063 #7E6210 #107E2B
square
#102C7E #7E1063 #7E6210 #107E2B
split-complementary
#102C7E #7E2B10 #637E10
monochromatic
#03091B #091948 #102C7E #173FB4 #2556E3

Accessibility & contrast

On white

12.47
#102C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#102C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102C7E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102C7E#FFFFFF#000000##FFFFFF
##102C7E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #102c7e;
/* rgb */ color: rgb(16, 44, 126);
/* oklch */ color: oklch(33.3% 0.143 264.8);
Tailwind
colors: {
  custom: {
    50: '#6564a4',
    500: '#102c7e',
    950: '#000000',
  },
}
SCSS
$custom: #102c7e;
$custom-light: #6564a4;
$custom-dark: #000000;
JSON
{
  "hex": "#102c7e",
  "rgb": {
    "r": 16,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 224.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33341,
    "c": 0.14262,
    "h": 264.8
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#102C7E
secondary
#B49436
accent
#C334F4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #102C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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