#261B82#261B82

#261B82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.161 H 277.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#261B82
RGBrgb(38, 27, 130)
HSLhsl(246, 66%, 31%)
HSVhsv(246, 79%, 51%)
CMYKcmyk(70.8%, 79.2%, 0%, 49%)
CIE-LABlab(19.25, 38.09, -55.47)
CIE-LCHlch(19.25, 67.28, 304.48°)
OKLaboklab(32.06% 0.0195 -0.1603)
OKLCHoklch(32.06% 0.161 277)
XYZxyz(5.2192, 2.8072, 21.3816)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B82 #77821B
analogous
#1B4382 #261B82 #591B82
triadic
#261B82 #82261B #1B8226
tetradic
#261B82 #821B43 #77821B #1B8259
square
#261B82 #821B43 #77821B #1B8259
split-complementary
#261B82 #82591B #43821B
monochromatic
#08061D #17104F #261B82 #3526B5 #5040D7

Accessibility & contrast

On white

13.45
#261B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B82
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B82#FFFFFF#000000##FFFFFF
##261B821.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261b82;
/* rgb */ color: rgb(38, 27, 130);
/* oklch */ color: oklch(32.1% 0.161 277.0);
Tailwind
colors: {
  custom: {
    50: '#6f5aa7',
    500: '#261b82',
    950: '#000000',
  },
}
SCSS
$custom: #261b82;
$custom-light: #6f5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#261b82",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 246.408,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32061,
    "c": 0.16148,
    "h": 277
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#261B82
secondary
#A9B643
accent
#E93FD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261B82

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

Preview Lab → · Contrast checker → · Palette generator →

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