#261B86#261B86

#261B86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.166 H 276.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#261B86
RGBrgb(38, 27, 134)
HSLhsl(246, 66%, 32%)
HSVhsv(246, 80%, 53%)
CMYKcmyk(71.6%, 79.9%, 0%, 47.5%)
CIE-LABlab(19.71, 39.40, -57.24)
CIE-LCHlch(19.71, 69.49, 304.54°)
OKLaboklab(32.51% 0.0185 -0.1655)
OKLCHoklch(32.51% 0.166 276.4)
XYZxyz(5.4929, 2.9167, 22.8231)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B86 #7B861B
analogous
#1B4686 #261B86 #5C1B86
triadic
#261B86 #86261B #1B8626
tetradic
#261B86 #861B46 #7B861B #1B865C
square
#261B86 #861B46 #7B861B #1B865C
split-complementary
#261B86 #865C1B #46861B
monochromatic
#090620 #181153 #261B86 #3425B9 #5242D9

Accessibility & contrast

On white

13.26
#261B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#261B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B86
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B86#FFFFFF#000000##FFFFFF
##261B861.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261b86;
/* rgb */ color: rgb(38, 27, 134);
/* oklch */ color: oklch(32.5% 0.166 276.4);
Tailwind
colors: {
  custom: {
    50: '#705aaa',
    500: '#261b86',
    950: '#000000',
  },
}
SCSS
$custom: #261b86;
$custom-light: #705aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#261b86",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 246.168,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32512,
    "c": 0.16649,
    "h": 276.4
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#261B86
secondary
#ADB944
accent
#E93ED8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261B86

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

Preview Lab → · Contrast checker → · Palette generator →

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