#261B97#261B97

#261B97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.187 H 274.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#261B97
RGBrgb(38, 27, 151)
HSLhsl(245, 70%, 35%)
HSVhsv(245, 82%, 59%)
CMYKcmyk(74.8%, 82.1%, 0%, 40.8%)
CIE-LABlab(21.69, 44.87, -64.55)
CIE-LCHlch(21.69, 78.61, 304.80°)
OKLaboklab(34.47% 0.014 -0.1867)
OKLCHoklch(34.47% 0.187 274.3)
XYZxyz(6.7753, 3.4296, 29.5771)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B97 #8C971B
analogous
#1B4E97 #261B97 #641B97
triadic
#261B97 #97261B #1B9726
tetradic
#261B97 #971B4E #8C971B #1B9764
square
#261B97 #971B4E #8C971B #1B9764
split-complementary
#261B97 #97641B #4E971B
monochromatic
#0C082F #191263 #261B97 #3324CB #5A4DDF

Accessibility & contrast

On white

12.46
#261B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#261B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B97
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B97#FFFFFF#000000##FFFFFF
##261B971.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002E95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #261b97;
/* rgb */ color: rgb(38, 27, 151);
/* oklch */ color: oklch(34.5% 0.187 274.3);
Tailwind
colors: {
  custom: {
    50: '#745bb7',
    500: '#261b97',
    950: '#000000',
  },
}
SCSS
$custom: #261b97;
$custom-light: #745bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#261b97",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 245.323,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34473,
    "c": 0.1872,
    "h": 274.3
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#261B97
secondary
#B7C14C
accent
#EC3BDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261B97

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

Preview Lab → · Contrast checker → · Palette generator →

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