#261B81#261B81

#261B81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.160 H 277.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#261B81
RGBrgb(38, 27, 129)
HSLhsl(246, 65%, 31%)
HSVhsv(246, 79%, 51%)
CMYKcmyk(70.5%, 79.1%, 0%, 49.4%)
CIE-LABlab(19.14, 37.76, -55.02)
CIE-LCHlch(19.14, 66.73, 304.46°)
OKLaboklab(31.95% 0.0198 -0.159)
OKLCHoklch(31.95% 0.16 277.1)
XYZxyz(5.1524, 2.7805, 21.0298)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B81 #76811B
analogous
#1B4381 #261B81 #591B81
triadic
#261B81 #81261B #1B8126
tetradic
#261B81 #811B43 #76811B #1B8159
square
#261B81 #811B43 #76811B #1B8159
split-complementary
#261B81 #81591B #43811B
monochromatic
#08061C #17104E #261B81 #3526B4 #503FD7

Accessibility & contrast

On white

13.49
#261B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B81
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B81#FFFFFF#000000##FFFFFF
##261B811.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261b81;
/* rgb */ color: rgb(38, 27, 129);
/* oklch */ color: oklch(31.9% 0.160 277.1);
Tailwind
colors: {
  custom: {
    50: '#6f5aa7',
    500: '#261b81',
    950: '#000000',
  },
}
SCSS
$custom: #261b81;
$custom-light: #6f5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#261b81",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 246.471,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31949,
    "c": 0.16022,
    "h": 277.1
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#261B81
secondary
#A8B543
accent
#E83FD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261B81

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

Preview Lab → · Contrast checker → · Palette generator →

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