#102A7E#102A7E

#102A7E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.145 H 265.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#102A7E
RGBrgb(16, 42, 126)
HSLhsl(226, 77%, 28%)
HSVhsv(226, 87%, 49%)
CMYKcmyk(87.3%, 66.7%, 0%, 50.6%)
CIE-LABlab(21.10, 24.97, -49.93)
CIE-LCHlch(21.10, 55.83, 296.57°)
OKLaboklab(32.94% -0.0118 -0.1447)
OKLCHoklch(32.94% 0.145 265.3)
XYZxyz(4.8062, 3.2719, 20.1128)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102A7E #7E6410
analogous
#10617E #102A7E #2D107E
triadic
#102A7E #7E102A #2A7E10
tetradic
#102A7E #7E1061 #7E6410 #107E2D
square
#102A7E #7E1061 #7E6410 #107E2D
split-complementary
#102A7E #7E2D10 #617E10
monochromatic
#03091B #091848 #102A7E #173CB4 #2552E3

Accessibility & contrast

On white

12.69
#102A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#102A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102A7E
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102A7E#FFFFFF#000000##FFFFFF
##102A7E1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #102a7e;
/* rgb */ color: rgb(16, 42, 126);
/* oklch */ color: oklch(32.9% 0.145 265.3);
Tailwind
colors: {
  custom: {
    50: '#6563a4',
    500: '#102a7e',
    950: '#000000',
  },
}
SCSS
$custom: #102a7e;
$custom-light: #6563a4;
$custom-dark: #000000;
JSON
{
  "hex": "#102a7e",
  "rgb": {
    "r": 16,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 225.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32941,
    "c": 0.14514,
    "h": 265.3
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#102A7E
secondary
#B49636
accent
#C734F4
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #102A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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