#261D87#261D87

#261D87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.166 H 276.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#261D87
RGBrgb(38, 29, 135)
HSLhsl(245, 65%, 32%)
HSVhsv(245, 79%, 53%)
CMYKcmyk(71.9%, 78.5%, 0%, 47.1%)
CIE-LABlab(20.20, 38.64, -57.05)
CIE-LCHlch(20.20, 68.91, 304.11°)
OKLaboklab(32.89% 0.0172 -0.1649)
OKLCHoklch(32.89% 0.166 276)
XYZxyz(5.6104, 3.0395, 23.2080)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D87 #7E871D
analogous
#1D4987 #261D87 #5B1D87
triadic
#261D87 #87261D #1D8726
tetradic
#261D87 #871D49 #7E871D #1D875B
square
#261D87 #871D49 #7E871D #1D875B
split-complementary
#261D87 #875B1D #49871D
monochromatic
#0A0722 #181255 #261D87 #3428B9 #5347D7

Accessibility & contrast

On white

13.06
#261D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#261D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D87
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D87#FFFFFF#000000##FFFFFF
##261D871.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261d87;
/* rgb */ color: rgb(38, 29, 135);
/* oklch */ color: oklch(32.9% 0.166 276.0);
Tailwind
colors: {
  custom: {
    50: '#705bab',
    500: '#261d87',
    950: '#000000',
  },
}
SCSS
$custom: #261d87;
$custom-light: #705bab;
$custom-dark: #000000;
JSON
{
  "hex": "#261d87",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 245.094,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32893,
    "c": 0.16583,
    "h": 276
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#261D87
secondary
#B0B946
accent
#E840D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261D87

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

Preview Lab → · Contrast checker → · Palette generator →

#261D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva