#261B95#261B95

#261B95 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.185 H 274.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#261B95
RGBrgb(38, 27, 149)
HSLhsl(245, 69%, 35%)
HSVhsv(245, 82%, 58%)
CMYKcmyk(74.5%, 81.9%, 0%, 41.6%)
CIE-LABlab(21.45, 44.23, -63.71)
CIE-LCHlch(21.45, 77.56, 304.77°)
OKLaboklab(34.24% 0.0145 -0.1842)
OKLCHoklch(34.24% 0.185 274.5)
XYZxyz(6.6143, 3.3652, 28.7289)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B95 #8A951B
analogous
#1B4D95 #261B95 #631B95
triadic
#261B95 #95261B #1B9526
tetradic
#261B95 #951B4D #8A951B #1B9563
square
#261B95 #951B4D #8A951B #1B9563
split-complementary
#261B95 #95631B #4D951B
monochromatic
#0C082D #191261 #261B95 #3324C9 #594CDF

Accessibility & contrast

On white

12.55
#261B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#261B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B95
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B95#FFFFFF#000000##FFFFFF
##261B951.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002E93
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261b95;
/* rgb */ color: rgb(38, 27, 149);
/* oklch */ color: oklch(34.2% 0.185 274.5);
Tailwind
colors: {
  custom: {
    50: '#745bb5',
    500: '#261b95',
    950: '#000000',
  },
}
SCSS
$custom: #261b95;
$custom-light: #745bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#261b95",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 245.41,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34239,
    "c": 0.18481,
    "h": 274.5
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#261B95
secondary
#B6C14B
accent
#EC3CDC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261B95

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

Preview Lab → · Contrast checker → · Palette generator →

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