#26157E#26157E

#26157E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.162 H 278.4°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#26157E
RGBrgb(38, 21, 126)
HSLhsl(250, 71%, 29%)
HSVhsv(250, 83%, 49%)
CMYKcmyk(69.8%, 83.3%, 0%, 50.6%)
CIE-LABlab(17.71, 39.92, -55.48)
CIE-LCHlch(17.71, 68.35, 305.74°)
OKLaboklab(30.85% 0.0238 -0.1602)
OKLCHoklch(30.85% 0.162 278.4)
XYZxyz(4.8322, 2.4543, 19.9537)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26157E #6D7E15
analogous
#15397E #26157E #5B157E
triadic
#26157E #7E2615 #157E26
tetradic
#26157E #7E1539 #6D7E15 #157E5B
square
#26157E #7E1539 #6D7E15 #157E5B
split-complementary
#26157E #7E5B15 #397E15
monochromatic
#08041A #160C4A #26157E #361EB2 #4D31DD

Accessibility & contrast

On white

14.08
#26157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26157E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26157E#FFFFFF#000000##FFFFFF
##26157E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #26157e;
/* rgb */ color: rgb(38, 21, 126);
/* oklch */ color: oklch(30.8% 0.162 278.4);
Tailwind
colors: {
  custom: {
    50: '#6f56a5',
    500: '#26157e',
    950: '#000000',
  },
}
SCSS
$custom: #26157e;
$custom-light: #6f56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26157e",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 249.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30849,
    "c": 0.162,
    "h": 278.4
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#26157E
secondary
#A0B33C
accent
#EE3AD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26157E

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

Preview Lab → · Contrast checker → · Palette generator →

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