#261B89#261B89

#261B89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.170 H 276.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#261B89
RGBrgb(38, 27, 137)
HSLhsl(246, 67%, 32%)
HSVhsv(246, 80%, 54%)
CMYKcmyk(72.3%, 80.3%, 0%, 46.3%)
CIE-LABlab(20.05, 40.38, -58.56)
CIE-LCHlch(20.05, 71.13, 304.59°)
OKLaboklab(32.85% 0.0177 -0.1693)
OKLCHoklch(32.85% 0.17 276)
XYZxyz(5.7051, 3.0015, 23.9408)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B89 #7E891B
analogous
#1B4789 #261B89 #5D1B89
triadic
#261B89 #89261B #1B8926
tetradic
#261B89 #891B47 #7E891B #1B895D
square
#261B89 #891B47 #7E891B #1B895D
split-complementary
#261B89 #895D1B #47891B
monochromatic
#0A0723 #181156 #261B89 #3425BC #5344DA

Accessibility & contrast

On white

13.12
#261B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B89
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B89#FFFFFF#000000##FFFFFF
##261B891.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261b89;
/* rgb */ color: rgb(38, 27, 137);
/* oklch */ color: oklch(32.9% 0.170 276.0);
Tailwind
colors: {
  custom: {
    50: '#715aad',
    500: '#261b89',
    950: '#000000',
  },
}
SCSS
$custom: #261b89;
$custom-light: #715aad;
$custom-dark: #000000;
JSON
{
  "hex": "#261b89",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 246,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.17021,
    "h": 276
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#261B89
secondary
#B0BC44
accent
#EA3ED9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261B89

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

Preview Lab → · Contrast checker → · Palette generator →

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