#102057#102057

#102057 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.102 H 266.9°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#102057
RGBrgb(16, 32, 87)
HSLhsl(226, 69%, 20%)
HSVhsv(226, 82%, 34%)
CMYKcmyk(81.6%, 63.2%, 0%, 65.9%)
CIE-LABlab(14.57, 15.91, -35.17)
CIE-LCHlch(14.57, 38.60, 294.34°)
OKLaboklab(26.96% -0.0055 -0.1015)
OKLCHoklch(26.96% 0.102 266.9)
XYZxyz(2.4499, 1.8310, 9.2393)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102057 #574710
analogous
#104357 #102057 #241057
triadic
#102057 #571020 #205710
tetradic
#102057 #571043 #574710 #105724
square
#102057 #571043 #574710 #105724
split-complementary
#102057 #572410 #435710
monochromatic
#050A1A #060D23 #102057 #1A338B #2346BE

Accessibility & contrast

On white

15.37
#102057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#102057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102057
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102057#FFFFFF#000000##FFFFFF
##1020571.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002256
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #102057;
/* rgb */ color: rgb(16, 32, 87);
/* oklch */ color: oklch(27.0% 0.102 266.9);
Tailwind
colors: {
  custom: {
    50: '#5b5b87',
    500: '#102057',
    950: '#000000',
  },
}
SCSS
$custom: #102057;
$custom-light: #5b5b87;
$custom-dark: #000000;
JSON
{
  "hex": "#102057",
  "rgb": {
    "r": 16,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 226.479,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26955,
    "c": 0.10169,
    "h": 266.9
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#102057
secondary
#907B32
accent
#C43CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102057

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

Preview Lab → · Contrast checker → · Palette generator →

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