#102257#102257

#102257 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.099 H 265.8°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#102257
RGBrgb(16, 34, 87)
HSLhsl(225, 69%, 20%)
HSVhsv(225, 82%, 34%)
CMYKcmyk(81.6%, 60.9%, 0%, 65.9%)
CIE-LABlab(15.18, 14.41, -34.19)
CIE-LCHlch(15.18, 37.10, 292.85°)
OKLaboklab(27.41% -0.0072 -0.0986)
OKLCHoklch(27.41% 0.099 265.8)
XYZxyz(2.5054, 1.9421, 9.2578)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102257 #574510
analogous
#104557 #102257 #221057
triadic
#102257 #571022 #225710
tetradic
#102257 #571045 #574510 #105722
square
#102257 #571045 #574510 #105722
split-complementary
#102257 #572210 #455710
monochromatic
#050A1A #060E23 #102257 #1A368B #234ABE

Accessibility & contrast

On white

15.13
#102257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#102257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102257
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102257#FFFFFF#000000##FFFFFF
##1022571.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #102257;
/* rgb */ color: rgb(16, 34, 87);
/* oklch */ color: oklch(27.4% 0.099 265.8);
Tailwind
colors: {
  custom: {
    50: '#5b5c87',
    500: '#102257',
    950: '#000000',
  },
}
SCSS
$custom: #102257;
$custom-light: #5b5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#102257",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 224.789,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27409,
    "c": 0.09887,
    "h": 265.8
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#102257
secondary
#907932
accent
#BF3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102257

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

Preview Lab → · Contrast checker → · Palette generator →

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