#261B79#261B79

#261B79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.150 H 278.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#261B79
RGBrgb(38, 27, 121)
HSLhsl(247, 64%, 29%)
HSVhsv(247, 78%, 47%)
CMYKcmyk(68.6%, 77.7%, 0%, 52.5%)
CIE-LABlab(18.26, 35.09, -51.38)
CIE-LCHlch(18.26, 62.22, 304.33°)
OKLaboklab(31.06% 0.0218 -0.1484)
OKLCHoklch(31.06% 0.15 278.4)
XYZxyz(4.6413, 2.5760, 18.3381)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B79 #6E791B
analogous
#1B3F79 #261B79 #551B79
triadic
#261B79 #79261B #1B7926
tetradic
#261B79 #791B3F #6E791B #1B7955
square
#261B79 #791B3F #6E791B #1B7955
split-complementary
#261B79 #79551B #3F791B
monochromatic
#080619 #161047 #261B79 #3626AB #4D3BD3

Accessibility & contrast

On white

13.86
#261B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B79
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B79#FFFFFF#000000##FFFFFF
##261B791.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261b79;
/* rgb */ color: rgb(38, 27, 121);
/* oklch */ color: oklch(31.1% 0.150 278.4);
Tailwind
colors: {
  custom: {
    50: '#6d59a1',
    500: '#261b79',
    950: '#000000',
  },
}
SCSS
$custom: #261b79;
$custom-light: #6d59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#261b79",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 247.021,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31064,
    "c": 0.14998,
    "h": 278.4
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#261B79
secondary
#A1AD43
accent
#E741D3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261B79

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

Preview Lab → · Contrast checker → · Palette generator →

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