#261B84#261B84

#261B84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.164 H 276.7°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#261B84
RGBrgb(38, 27, 132)
HSLhsl(246, 66%, 31%)
HSVhsv(246, 80%, 52%)
CMYKcmyk(71.2%, 79.5%, 0%, 48.2%)
CIE-LABlab(19.48, 38.75, -56.36)
CIE-LCHlch(19.48, 68.39, 304.51°)
OKLaboklab(32.29% 0.019 -0.1629)
OKLCHoklch(32.29% 0.164 276.7)
XYZxyz(5.3548, 2.8614, 22.0954)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B84 #79841B
analogous
#1B4484 #261B84 #5A1B84
triadic
#261B84 #84261B #1B8426
tetradic
#261B84 #841B44 #79841B #1B845A
square
#261B84 #841B44 #79841B #1B845A
split-complementary
#261B84 #845A1B #44841B
monochromatic
#09061E #171151 #261B84 #3525B7 #5141D8

Accessibility & contrast

On white

13.36
#261B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B84
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B84#FFFFFF#000000##FFFFFF
##261B841.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261b84;
/* rgb */ color: rgb(38, 27, 132);
/* oklch */ color: oklch(32.3% 0.164 276.7);
Tailwind
colors: {
  custom: {
    50: '#705aa9',
    500: '#261b84',
    950: '#000000',
  },
}
SCSS
$custom: #261b84;
$custom-light: #705aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#261b84",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 246.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32286,
    "c": 0.16399,
    "h": 276.7
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#261B84
secondary
#ABB743
accent
#E93FD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261B84

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

Preview Lab → · Contrast checker → · Palette generator →

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