#261580#261580

#261580 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.164 H 278.1°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#261580
RGBrgb(38, 21, 128)
HSLhsl(250, 72%, 29%)
HSVhsv(250, 84%, 50%)
CMYKcmyk(70.3%, 83.6%, 0%, 49.8%)
CIE-LABlab(17.95, 40.55, -56.36)
CIE-LCHlch(17.95, 69.43, 305.74°)
OKLaboklab(31.08% 0.0232 -0.1628)
OKLCHoklch(31.08% 0.164 278.1)
XYZxyz(4.9625, 2.5065, 20.6402)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261580 #6F8015
analogous
#153A80 #261580 #5C1580
triadic
#261580 #802615 #158026
tetradic
#261580 #80153A #6F8015 #15805C
square
#261580 #80153A #6F8015 #15805C
split-complementary
#261580 #805C15 #3A8015
monochromatic
#08041A #160C4B #261580 #361EB5 #4D32DD

Accessibility & contrast

On white

13.99
#261580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#261580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261580
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261580#FFFFFF#000000##FFFFFF
##2615801.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261580;
/* rgb */ color: rgb(38, 21, 128);
/* oklch */ color: oklch(31.1% 0.164 278.1);
Tailwind
colors: {
  custom: {
    50: '#6f56a6',
    500: '#261580',
    950: '#000000',
  },
}
SCSS
$custom: #261580;
$custom-light: #6f56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#261580",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 249.533,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31083,
    "c": 0.16445,
    "h": 278.1
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#261580
secondary
#A2B53C
accent
#EF39D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #261580

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

Preview Lab → · Contrast checker → · Palette generator →

#261580 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva