#261C87#261C87

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

Color values

HEX#261C87
RGBrgb(38, 28, 135)
HSLhsl(246, 66%, 32%)
HSVhsv(246, 79%, 53%)
CMYKcmyk(71.9%, 79.3%, 0%, 47.1%)
CIE-LABlab(20.01, 39.19, -57.37)
CIE-LCHlch(20.01, 69.48, 304.34°)
OKLaboklab(32.76% 0.0177 -0.1658)
OKLCHoklch(32.76% 0.167 276.1)
XYZxyz(5.5863, 2.9913, 23.2000)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C87 #7D871C
analogous
#1C4887 #261C87 #5B1C87
triadic
#261C87 #87261C #1C8726
tetradic
#261C87 #871C48 #7D871C #1C875B
square
#261C87 #871C48 #7D871C #1C875B
split-complementary
#261C87 #875B1C #48871C
monochromatic
#090722 #181154 #261C87 #3427BA #5345D8

Accessibility & contrast

On white

13.14
#261C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261C87
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C87#FFFFFF#000000##FFFFFF
##261C871.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261c87;
/* rgb */ color: rgb(38, 28, 135);
/* oklch */ color: oklch(32.8% 0.167 276.1);
Tailwind
colors: {
  custom: {
    50: '#705bab',
    500: '#261c87',
    950: '#000000',
  },
}
SCSS
$custom: #261c87;
$custom-light: #705bab;
$custom-dark: #000000;
JSON
{
  "hex": "#261c87",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 245.607,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32757,
    "c": 0.16679,
    "h": 276.1
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#261C87
secondary
#AFBA45
accent
#E93FD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261C87

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

Preview Lab → · Contrast checker → · Palette generator →

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