#261C78#261C78

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

Color values

HEX#261C78
RGBrgb(38, 28, 120)
HSLhsl(247, 62%, 29%)
HSVhsv(247, 77%, 47%)
CMYKcmyk(68.3%, 76.7%, 0%, 52.9%)
CIE-LABlab(18.36, 34.17, -50.58)
CIE-LCHlch(18.36, 61.04, 304.04°)
OKLaboklab(31.1% 0.0214 -0.1461)
OKLCHoklch(31.1% 0.148 278.3)
XYZxyz(4.6037, 2.5983, 18.0246)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C78 #6E781C
analogous
#1C4078 #261C78 #541C78
triadic
#261C78 #78261C #1C7826
tetradic
#261C78 #781C40 #6E781C #1C7854
square
#261C78 #781C40 #6E781C #1C7854
split-complementary
#261C78 #78541C #40781C
monochromatic
#080619 #161046 #261C78 #3628AA #4D3DD2

Accessibility & contrast

On white

13.82
#261C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261C78
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C78#FFFFFF#000000##FFFFFF
##261C781.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261c78;
/* rgb */ color: rgb(38, 28, 120);
/* oklch */ color: oklch(31.1% 0.148 278.3);
Tailwind
colors: {
  custom: {
    50: '#6d5aa0',
    500: '#261c78',
    950: '#000000',
  },
}
SCSS
$custom: #261c78;
$custom-light: #6d5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#261c78",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 246.522,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31102,
    "c": 0.14762,
    "h": 278.3
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#261C78
secondary
#A1AC44
accent
#E543D4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261C78

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

Preview Lab → · Contrast checker → · Palette generator →

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