#261D78#261D78

#261D78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.147 H 278.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#261D78
RGBrgb(38, 29, 120)
HSLhsl(246, 61%, 29%)
HSVhsv(246, 76%, 47%)
CMYKcmyk(68.3%, 75.8%, 0%, 52.9%)
CIE-LABlab(18.57, 33.58, -50.23)
CIE-LCHlch(18.57, 60.42, 303.76°)
OKLaboklab(31.25% 0.0207 -0.1451)
OKLCHoklch(31.25% 0.147 278.1)
XYZxyz(4.6278, 2.6465, 18.0326)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D78 #6F781D
analogous
#1D4278 #261D78 #541D78
triadic
#261D78 #78261D #1D7826
tetradic
#261D78 #781D42 #6F781D #1D7854
square
#261D78 #781D42 #6F781D #1D7854
split-complementary
#261D78 #78541D #42781D
monochromatic
#080619 #161147 #261D78 #3629A9 #4D3FD1

Accessibility & contrast

On white

13.73
#261D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D78
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D78#FFFFFF#000000##FFFFFF
##261D781.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261d78;
/* rgb */ color: rgb(38, 29, 120);
/* oklch */ color: oklch(31.3% 0.147 278.1);
Tailwind
colors: {
  custom: {
    50: '#6d5aa0',
    500: '#261d78',
    950: '#000000',
  },
}
SCSS
$custom: #261d78;
$custom-light: #6d5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#261d78",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 245.934,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31251,
    "c": 0.14652,
    "h": 278.1
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#261D78
secondary
#A2AC45
accent
#E444D4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #261D78

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

Preview Lab → · Contrast checker → · Palette generator →

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