#102F7E#102F7E

#102F7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.139 H 264.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#102F7E
RGBrgb(16, 47, 126)
HSLhsl(223, 77%, 28%)
HSVhsv(223, 87%, 49%)
CMYKcmyk(87.3%, 62.7%, 0%, 50.6%)
CIE-LABlab(22.48, 21.44, -47.69)
CIE-LCHlch(22.48, 52.28, 294.21°)
OKLaboklab(33.96% -0.0145 -0.138)
OKLCHoklch(33.96% 0.139 264)
XYZxyz(4.9948, 3.6489, 20.1757)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102F7E #7E5F10
analogous
#10667E #102F7E #28107E
triadic
#102F7E #7E102F #2F7E10
tetradic
#102F7E #7E1066 #7E5F10 #107E28
square
#102F7E #7E1066 #7E5F10 #107E28
split-complementary
#102F7E #7E2810 #667E10
monochromatic
#030A1B #091B48 #102F7E #1743B4 #255BE3

Accessibility & contrast

On white

12.14
#102F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#102F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102F7E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102F7E#FFFFFF#000000##FFFFFF
##102F7E1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #102f7e;
/* rgb */ color: rgb(16, 47, 126);
/* oklch */ color: oklch(34.0% 0.139 264.0);
Tailwind
colors: {
  custom: {
    50: '#6567a4',
    500: '#102f7e',
    950: '#000000',
  },
}
SCSS
$custom: #102f7e;
$custom-light: #6567a4;
$custom-dark: #000000;
JSON
{
  "hex": "#102f7e",
  "rgb": {
    "r": 16,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 223.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3396,
    "c": 0.13876,
    "h": 264
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#102F7E
secondary
#B49136
accent
#BE34F4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #102F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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