#26157D#26157D

#26157D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.161 H 278.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#26157D
RGBrgb(38, 21, 125)
HSLhsl(250, 71%, 29%)
HSVhsv(250, 83%, 49%)
CMYKcmyk(69.6%, 83.2%, 0%, 51%)
CIE-LABlab(17.59, 39.61, -55.04)
CIE-LCHlch(17.59, 67.81, 305.74°)
OKLaboklab(30.73% 0.0241 -0.159)
OKLCHoklch(30.73% 0.161 278.6)
XYZxyz(4.7680, 2.4287, 19.6156)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26157D #6C7D15
analogous
#15387D #26157D #5A157D
triadic
#26157D #7D2615 #157D26
tetradic
#26157D #7D1538 #6C7D15 #157D5A
square
#26157D #7D1538 #6C7D15 #157D5A
split-complementary
#26157D #7D5A15 #387D15
monochromatic
#08041A #160C49 #26157D #361EB1 #4C30DC

Accessibility & contrast

On white

14.13
#26157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#26157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26157D
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26157D#FFFFFF#000000##FFFFFF
##26157D1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26157d;
/* rgb */ color: rgb(38, 21, 125);
/* oklch */ color: oklch(30.7% 0.161 278.6);
Tailwind
colors: {
  custom: {
    50: '#6f56a4',
    500: '#26157d',
    950: '#000000',
  },
}
SCSS
$custom: #26157d;
$custom-light: #6f56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26157d",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 249.808,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.16078,
    "h": 278.6
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#26157D
secondary
#9FB23C
accent
#EE3AD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26157D

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

Preview Lab → · Contrast checker → · Palette generator →

#26157D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva