#10125E#10125E

#10125E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.0% C 0.130 H 271.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#10125E
RGBrgb(16, 18, 94)
HSLhsl(238, 71%, 22%)
HSVhsv(238, 83%, 37%)
CMYKcmyk(83%, 80.9%, 0%, 63.1%)
CIE-LABlab(11.63, 28.62, -44.72)
CIE-LCHlch(11.63, 53.09, 302.62°)
OKLaboklab(25.03% 0.0024 -0.1295)
OKLCHoklch(25.03% 0.13 271.1)
XYZxyz(2.4497, 1.3507, 10.7191)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10125E #5E5C10
analogous
#10395E #10125E #35105E
triadic
#10125E #5E1012 #125E10
tetradic
#10125E #5E1039 #5E5C10 #105E35
square
#10125E #5E1039 #5E5C10 #105E35
split-complementary
#10125E #5E3510 #395E10
monochromatic
#04051A #07082A #10125E #191C92 #2226C7

Accessibility & contrast

On white

16.53
#10125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#10125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10125E
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10125E#FFFFFF#000000##FFFFFF
##10125E1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001B5D
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #10125e;
/* rgb */ color: rgb(16, 18, 94);
/* oklch */ color: oklch(25.0% 0.130 271.1);
Tailwind
colors: {
  custom: {
    50: '#5f518d',
    500: '#10125e',
    950: '#000000',
  },
}
SCSS
$custom: #10125e;
$custom-light: #5f518d;
$custom-dark: #000000;
JSON
{
  "hex": "#10125e",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 238.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2503,
    "c": 0.12951,
    "h": 271.1
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#10125E
secondary
#979433
accent
#E93AEE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #10125E

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

Preview Lab → · Contrast checker → · Palette generator →

#10125E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva