#261B99#261B99

#261B99 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.190 H 274.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#261B99
RGBrgb(38, 27, 153)
HSLhsl(245, 70%, 35%)
HSVhsv(245, 82%, 60%)
CMYKcmyk(75.2%, 82.4%, 0%, 40%)
CIE-LABlab(21.93, 45.50, -65.38)
CIE-LCHlch(21.93, 79.66, 304.83°)
OKLaboklab(34.71% 0.0135 -0.1891)
OKLCHoklch(34.71% 0.19 274.1)
XYZxyz(6.9391, 3.4951, 30.4397)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B99 #8E991B
analogous
#1B4F99 #261B99 #651B99
triadic
#261B99 #99261B #1B9926
tetradic
#261B99 #991B4F #8E991B #1B9965
square
#261B99 #991B4F #8E991B #1B9965
split-complementary
#261B99 #99651B #4F991B
monochromatic
#0C0931 #191265 #261B99 #3324CD #5B4FE0

Accessibility & contrast

On white

12.36
#261B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#261B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B99
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B99#FFFFFF#000000##FFFFFF
##261B991.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #261b99;
/* rgb */ color: rgb(38, 27, 153);
/* oklch */ color: oklch(34.7% 0.190 274.1);
Tailwind
colors: {
  custom: {
    50: '#755bb8',
    500: '#261b99',
    950: '#000000',
  },
}
SCSS
$custom: #261b99;
$custom-light: #755bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#261b99",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 245.238,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34708,
    "c": 0.18958,
    "h": 274.1
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#261B99
secondary
#B8C24E
accent
#ED3BDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261B99

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

Preview Lab → · Contrast checker → · Palette generator →

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