#102258#102258

#102258 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.100 H 265.9°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#102258
RGBrgb(16, 34, 88)
HSLhsl(225, 69%, 20%)
HSVhsv(225, 82%, 35%)
CMYKcmyk(81.8%, 61.4%, 0%, 65.5%)
CIE-LABlab(15.27, 14.84, -34.72)
CIE-LCHlch(15.27, 37.75, 293.14°)
OKLaboklab(27.5% -0.0071 -0.1002)
OKLCHoklch(27.5% 0.1 265.9)
XYZxyz(2.5465, 1.9585, 9.4744)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102258 #584610
analogous
#104658 #102258 #221058
triadic
#102258 #581022 #225810
tetradic
#102258 #581046 #584610 #105822
square
#102258 #581046 #584610 #105822
split-complementary
#102258 #582210 #465810
monochromatic
#050A1A #070E24 #102258 #19368C #234AC0

Accessibility & contrast

On white

15.09
#102258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #102258
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102258#FFFFFF#000000##FFFFFF
##1022581.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #102258;
/* rgb */ color: rgb(16, 34, 88);
/* oklch */ color: oklch(27.5% 0.100 265.9);
Tailwind
colors: {
  custom: {
    50: '#5b5c88',
    500: '#102258',
    950: '#000000',
  },
}
SCSS
$custom: #102258;
$custom-light: #5b5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#102258",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 225,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27503,
    "c": 0.10041,
    "h": 265.9
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#102258
secondary
#917A32
accent
#C03CEC
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #102258

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

Preview Lab → · Contrast checker → · Palette generator →

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