#261B9E#261B9E

#261B9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.195 H 273.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#261B9E
RGBrgb(38, 27, 158)
HSLhsl(245, 71%, 36%)
HSVhsv(245, 83%, 62%)
CMYKcmyk(75.9%, 82.9%, 0%, 38%)
CIE-LABlab(22.53, 47.06, -67.45)
CIE-LCHlch(22.53, 82.25, 304.90°)
OKLaboklab(35.3% 0.0121 -0.1951)
OKLCHoklch(35.3% 0.195 273.6)
XYZxyz(7.3608, 3.6638, 32.6604)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B9E #939E1B
analogous
#1B529E #261B9E #681B9E
triadic
#261B9E #9E261B #1B9E26
tetradic
#261B9E #9E1B52 #939E1B #1B9E68
square
#261B9E #9E1B52 #939E1B #1B9E68
split-complementary
#261B9E #9E681B #529E1B
monochromatic
#0D0935 #19126A #261B9E #3324D2 #5E52E1

Accessibility & contrast

On white

12.12
#261B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#261B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B9E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B9E#FFFFFF#000000##FFFFFF
##261B9E1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #261b9e;
/* rgb */ color: rgb(38, 27, 158);
/* oklch */ color: oklch(35.3% 0.195 273.6);
Tailwind
colors: {
  custom: {
    50: '#765cbc',
    500: '#261b9e',
    950: '#000000',
  },
}
SCSS
$custom: #261b9e;
$custom-light: #765cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#261b9e",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 245.038,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35297,
    "c": 0.19548,
    "h": 273.6
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#261B9E
secondary
#BAC451
accent
#EE3ADF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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