#261C81#261C81

#261C81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.159 H 276.9°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#261C81
RGBrgb(38, 28, 129)
HSLhsl(246, 64%, 31%)
HSVhsv(246, 78%, 51%)
CMYKcmyk(70.5%, 78.3%, 0%, 49.4%)
CIE-LABlab(19.34, 37.20, -54.70)
CIE-LCHlch(19.34, 66.15, 304.22°)
OKLaboklab(32.09% 0.0192 -0.1581)
OKLCHoklch(32.09% 0.159 276.9)
XYZxyz(5.1757, 2.8271, 21.0375)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C81 #77811C
analogous
#1C4481 #261C81 #581C81
triadic
#261C81 #81261C #1C8126
tetradic
#261C81 #811C44 #77811C #1C8158
square
#261C81 #811C44 #77811C #1C8158
split-complementary
#261C81 #81581C #44811C
monochromatic
#08061C #17114F #261C81 #3527B3 #5042D6

Accessibility & contrast

On white

13.41
#261C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C81
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C81#FFFFFF#000000##FFFFFF
##261C811.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261c81;
/* rgb */ color: rgb(38, 28, 129);
/* oklch */ color: oklch(32.1% 0.159 276.9);
Tailwind
colors: {
  custom: {
    50: '#6f5aa7',
    500: '#261c81',
    950: '#000000',
  },
}
SCSS
$custom: #261c81;
$custom-light: #6f5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#261c81",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 245.941,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32087,
    "c": 0.15923,
    "h": 276.9
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#261C81
secondary
#A9B444
accent
#E740D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261C81

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

Preview Lab → · Contrast checker → · Palette generator →

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