#261582#261582

#261582 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.167 H 277.8°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#261582
RGBrgb(38, 21, 130)
HSLhsl(249, 72%, 30%)
HSVhsv(249, 84%, 51%)
CMYKcmyk(70.8%, 83.8%, 0%, 49%)
CIE-LABlab(18.19, 41.18, -57.23)
CIE-LCHlch(18.19, 70.51, 305.73°)
OKLaboklab(31.32% 0.0225 -0.1653)
OKLCHoklch(31.32% 0.167 277.8)
XYZxyz(5.0955, 2.5597, 21.3403)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261582 #718215
analogous
#153B82 #261582 #5D1582
triadic
#261582 #822615 #158226
tetradic
#261582 #82153B #718215 #15825D
square
#261582 #82153B #718215 #15825D
split-complementary
#261582 #825D15 #3B8215
monochromatic
#08041A #170C4D #261582 #351EB7 #4E33DE

Accessibility & contrast

On white

13.89
#261582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#261582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261582
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261582#FFFFFF#000000##FFFFFF
##2615821.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261582;
/* rgb */ color: rgb(38, 21, 130);
/* oklch */ color: oklch(31.3% 0.167 277.8);
Tailwind
colors: {
  custom: {
    50: '#7057a8',
    500: '#261582',
    950: '#000000',
  },
}
SCSS
$custom: #261582;
$custom-light: #7057a8;
$custom-dark: #000000;
JSON
{
  "hex": "#261582",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 249.358,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31317,
    "c": 0.16687,
    "h": 277.8
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#261582
secondary
#A4B73C
accent
#EF39D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261582

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

Preview Lab → · Contrast checker → · Palette generator →

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