#261B87#261B87

#261B87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.168 H 276.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#261B87
RGBrgb(38, 27, 135)
HSLhsl(246, 67%, 32%)
HSVhsv(246, 80%, 53%)
CMYKcmyk(71.9%, 80%, 0%, 47.1%)
CIE-LABlab(19.82, 39.73, -57.68)
CIE-LCHlch(19.82, 70.04, 304.56°)
OKLaboklab(32.63% 0.0183 -0.1667)
OKLCHoklch(32.63% 0.168 276.2)
XYZxyz(5.5630, 2.9447, 23.1922)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B87 #7C871B
analogous
#1B4687 #261B87 #5C1B87
triadic
#261B87 #87261B #1B8726
tetradic
#261B87 #871B46 #7C871B #1B875C
square
#261B87 #871B46 #7C871B #1B875C
split-complementary
#261B87 #875C1B #46871B
monochromatic
#090721 #181154 #261B87 #3425BA #5243D9

Accessibility & contrast

On white

13.22
#261B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#261B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B87
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B87#FFFFFF#000000##FFFFFF
##261B871.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261b87;
/* rgb */ color: rgb(38, 27, 135);
/* oklch */ color: oklch(32.6% 0.168 276.2);
Tailwind
colors: {
  custom: {
    50: '#705aab',
    500: '#261b87',
    950: '#000000',
  },
}
SCSS
$custom: #261b87;
$custom-light: #705aab;
$custom-dark: #000000;
JSON
{
  "hex": "#261b87",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 246.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32626,
    "c": 0.16774,
    "h": 276.2
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#261B87
secondary
#AEBA44
accent
#EA3ED8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261B87

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

Preview Lab → · Contrast checker → · Palette generator →

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