#261D86#261D86

#261D86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.165 H 276.1°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#261D86
RGBrgb(38, 29, 134)
HSLhsl(245, 64%, 32%)
HSVhsv(245, 78%, 53%)
CMYKcmyk(71.6%, 78.4%, 0%, 47.5%)
CIE-LABlab(20.09, 38.31, -56.61)
CIE-LCHlch(20.09, 68.35, 304.09°)
OKLaboklab(32.78% 0.0175 -0.1636)
OKLCHoklch(32.78% 0.165 276.1)
XYZxyz(5.5404, 3.0115, 22.8389)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D86 #7D861D
analogous
#1D4986 #261D86 #5B1D86
triadic
#261D86 #86261D #1D8626
tetradic
#261D86 #861D49 #7D861D #1D865B
square
#261D86 #861D49 #7D861D #1D865B
split-complementary
#261D86 #865B1D #49861D
monochromatic
#090721 #181254 #261D86 #3428B8 #5346D7

Accessibility & contrast

On white

13.11
#261D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#261D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D86
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D86#FFFFFF#000000##FFFFFF
##261D861.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261d86;
/* rgb */ color: rgb(38, 29, 134);
/* oklch */ color: oklch(32.8% 0.165 276.1);
Tailwind
colors: {
  custom: {
    50: '#705baa',
    500: '#261d86',
    950: '#000000',
  },
}
SCSS
$custom: #261d86;
$custom-light: #705baa;
$custom-dark: #000000;
JSON
{
  "hex": "#261d86",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 245.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32781,
    "c": 0.16457,
    "h": 276.1
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#261D86
secondary
#AFB946
accent
#E740D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261D86

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

Preview Lab → · Contrast checker → · Palette generator →

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