#261B85#261B85

#261B85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.165 H 276.5°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#261B85
RGBrgb(38, 27, 133)
HSLhsl(246, 66%, 31%)
HSVhsv(246, 80%, 52%)
CMYKcmyk(71.4%, 79.7%, 0%, 47.8%)
CIE-LABlab(19.59, 39.07, -56.80)
CIE-LCHlch(19.59, 68.94, 304.53°)
OKLaboklab(32.4% 0.0188 -0.1642)
OKLCHoklch(32.4% 0.165 276.5)
XYZxyz(5.4235, 2.8889, 22.4575)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B85 #7A851B
analogous
#1B4585 #261B85 #5B1B85
triadic
#261B85 #85261B #1B8526
tetradic
#261B85 #851B45 #7A851B #1B855B
square
#261B85 #851B45 #7A851B #1B855B
split-complementary
#261B85 #855B1B #45851B
monochromatic
#09061F #171152 #261B85 #3525B8 #5142D9

Accessibility & contrast

On white

13.31
#261B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#261B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B85
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B85#FFFFFF#000000##FFFFFF
##261B851.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261b85;
/* rgb */ color: rgb(38, 27, 133);
/* oklch */ color: oklch(32.4% 0.165 276.5);
Tailwind
colors: {
  custom: {
    50: '#705aaa',
    500: '#261b85',
    950: '#000000',
  },
}
SCSS
$custom: #261b85;
$custom-light: #705aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#261b85",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 246.226,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32399,
    "c": 0.16524,
    "h": 276.5
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#261B85
secondary
#ACB844
accent
#E93FD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261B85

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

Preview Lab → · Contrast checker → · Palette generator →

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