#102074#102074

#102074 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.144 H 267.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#102074
RGBrgb(16, 32, 116)
HSLhsl(230, 76%, 26%)
HSVhsv(230, 86%, 45%)
CMYKcmyk(86.2%, 72.4%, 0%, 54.5%)
CIE-LABlab(17.48, 27.88, -49.51)
CIE-LCHlch(17.48, 56.82, 299.39°)
OKLaboklab(29.98% -0.0066 -0.1435)
OKLCHoklch(29.98% 0.144 267.4)
XYZxyz(3.8815, 2.4037, 16.7790)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102074 #746410
analogous
#105274 #102074 #321074
triadic
#102074 #741020 #207410
tetradic
#102074 #741052 #746410 #107432
square
#102074 #741052 #746410 #107432
split-complementary
#102074 #743210 #527410
monochromatic
#04071B #09113E #102074 #172FAA #1F3EE0

Accessibility & contrast

On white

14.18
#102074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#102074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102074
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102074#FFFFFF#000000##FFFFFF
##1020741.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #102074;
/* rgb */ color: rgb(16, 32, 116);
/* oklch */ color: oklch(30.0% 0.144 267.4);
Tailwind
colors: {
  custom: {
    50: '#645b9d',
    500: '#102074',
    950: '#000000',
  },
}
SCSS
$custom: #102074;
$custom-light: #645b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#102074",
  "rgb": {
    "r": 16,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 230.4,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29978,
    "c": 0.14362,
    "h": 267.4
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#102074
secondary
#AB9835
accent
#D435F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #102074

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

Preview Lab → · Contrast checker → · Palette generator →

#102074 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva