#10255F#10255F

#10255F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.107 H 265.1°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#10255F
RGBrgb(16, 37, 95)
HSLhsl(224, 71%, 22%)
HSVhsv(224, 83%, 37%)
CMYKcmyk(83.2%, 61.1%, 0%, 62.7%)
CIE-LABlab(16.79, 15.61, -36.91)
CIE-LCHlch(16.79, 40.07, 292.92°)
OKLaboklab(28.84% -0.0091 -0.1065)
OKLCHoklch(28.84% 0.107 265.1)
XYZxyz(2.9401, 2.2592, 11.1054)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10255F #5F4A10
analogous
#104D5F #10255F #23105F
triadic
#10255F #5F1025 #255F10
tetradic
#10255F #5F104D #5F4A10 #105F23
square
#10255F #5F104D #5F4A10 #105F23
split-complementary
#10255F #5F2310 #4D5F10
monochromatic
#040A1A #07112B #10255F #193993 #224EC8

Accessibility & contrast

On white

14.46
#10255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#10255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10255F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10255F#FFFFFF#000000##FFFFFF
##10255F1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #10255f;
/* rgb */ color: rgb(16, 37, 95);
/* oklch */ color: oklch(28.8% 0.107 265.1);
Tailwind
colors: {
  custom: {
    50: '#5d5f8d',
    500: '#10255f',
    950: '#000000',
  },
}
SCSS
$custom: #10255f;
$custom-light: #5d5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#10255f",
  "rgb": {
    "r": 16,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 224.051,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28841,
    "c": 0.10694,
    "h": 265.1
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#10255F
secondary
#987D33
accent
#BE3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #10255F

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

Preview Lab → · Contrast checker → · Palette generator →

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