#10257E#10257E

#10257E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.151 H 266.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#10257E
RGBrgb(16, 37, 126)
HSLhsl(229, 77%, 28%)
HSVhsv(229, 87%, 49%)
CMYKcmyk(87.3%, 70.6%, 0%, 50.6%)
CIE-LABlab(19.80, 28.43, -52.08)
CIE-LCHlch(19.80, 59.33, 298.63°)
OKLaboklab(31.99% -0.0095 -0.1509)
OKLCHoklch(31.99% 0.151 266.4)
XYZxyz(4.6398, 2.9391, 20.0574)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10257E #7E6910
analogous
#105C7E #10257E #32107E
triadic
#10257E #7E1025 #257E10
tetradic
#10257E #7E105C #7E6910 #107E32
square
#10257E #7E105C #7E6910 #107E32
split-complementary
#10257E #7E3210 #5C7E10
monochromatic
#03081B #091548 #10257E #1735B4 #2549E3

Accessibility & contrast

On white

13.22
#10257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#10257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10257E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10257E#FFFFFF#000000##FFFFFF
##10257E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #10257e;
/* rgb */ color: rgb(16, 37, 126);
/* oklch */ color: oklch(32.0% 0.151 266.4);
Tailwind
colors: {
  custom: {
    50: '#665fa4',
    500: '#10257e',
    950: '#000000',
  },
}
SCSS
$custom: #10257e;
$custom-light: #665fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#10257e",
  "rgb": {
    "r": 16,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 228.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31985,
    "c": 0.15125,
    "h": 266.4
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#10257E
secondary
#B49C36
accent
#CF34F4
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #10257E

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

Preview Lab → · Contrast checker → · Palette generator →

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