#10255C#10255C

#10255C is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.102 H 264.8°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#10255C
RGBrgb(16, 37, 92)
HSLhsl(223, 70%, 21%)
HSVhsv(223, 83%, 36%)
CMYKcmyk(82.6%, 59.8%, 0%, 63.9%)
CIE-LABlab(16.53, 14.32, -35.34)
CIE-LCHlch(16.53, 38.13, 292.05°)
OKLaboklab(28.56% -0.0093 -0.1019)
OKLCHoklch(28.56% 0.102 264.8)
XYZxyz(2.8063, 2.2057, 10.4010)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10255C #5C4710
analogous
#104B5C #10255C #21105C
triadic
#10255C #5C1025 #255C10
tetradic
#10255C #5C104B #5C4710 #105C21
square
#10255C #5C104B #5C4710 #105C21
split-complementary
#10255C #5C2110 #4B5C10
monochromatic
#050A1A #071028 #10255C #193A90 #224FC4

Accessibility & contrast

On white

14.57
#10255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#10255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10255C
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10255C#FFFFFF#000000##FFFFFF
##10255C1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #10255c;
/* rgb */ color: rgb(16, 37, 92);
/* oklch */ color: oklch(28.6% 0.102 264.8);
Tailwind
colors: {
  custom: {
    50: '#5c5f8b',
    500: '#10255c',
    950: '#000000',
  },
}
SCSS
$custom: #10255c;
$custom-light: #5c5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#10255c",
  "rgb": {
    "r": 16,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 223.421,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28563,
    "c": 0.10235,
    "h": 264.8
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#10255C
secondary
#957A33
accent
#BC3BED
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #10255C

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

Preview Lab → · Contrast checker → · Palette generator →

#10255C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva