#261B78#261B78

#261B78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.149 H 278.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#261B78
RGBrgb(38, 27, 120)
HSLhsl(247, 63%, 29%)
HSVhsv(247, 78%, 47%)
CMYKcmyk(68.3%, 77.5%, 0%, 52.9%)
CIE-LABlab(18.15, 34.75, -50.92)
CIE-LCHlch(18.15, 61.65, 304.31°)
OKLaboklab(30.96% 0.022 -0.147)
OKLCHoklch(30.96% 0.149 278.5)
XYZxyz(4.5803, 2.5516, 18.0168)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B78 #6D781B
analogous
#1B3F78 #261B78 #551B78
triadic
#261B78 #78261B #1B7826
tetradic
#261B78 #781B3F #6D781B #1B7855
square
#261B78 #781B3F #6D781B #1B7855
split-complementary
#261B78 #78551B #3F781B
monochromatic
#080619 #161046 #261B78 #3626AA #4D3BD3

Accessibility & contrast

On white

13.90
#261B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#261B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B78
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B78#FFFFFF#000000##FFFFFF
##261B781.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261b78;
/* rgb */ color: rgb(38, 27, 120);
/* oklch */ color: oklch(31.0% 0.149 278.5);
Tailwind
colors: {
  custom: {
    50: '#6d59a0',
    500: '#261b78',
    950: '#000000',
  },
}
SCSS
$custom: #261b78;
$custom-light: #6d59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#261b78",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 247.097,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30955,
    "c": 0.14868,
    "h": 278.5
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#261B78
secondary
#A0AC43
accent
#E641D3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261B78

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

Preview Lab → · Contrast checker → · Palette generator →

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