#261C82#261C82

#261C82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.161 H 276.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#261C82
RGBrgb(38, 28, 130)
HSLhsl(246, 65%, 31%)
HSVhsv(246, 78%, 51%)
CMYKcmyk(70.8%, 78.5%, 0%, 49%)
CIE-LABlab(19.45, 37.53, -55.14)
CIE-LCHlch(19.45, 66.71, 304.24°)
OKLaboklab(32.2% 0.019 -0.1594)
OKLCHoklch(32.2% 0.161 276.8)
XYZxyz(5.2425, 2.8538, 21.3893)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C82 #78821C
analogous
#1C4582 #261C82 #591C82
triadic
#261C82 #82261C #1C8226
tetradic
#261C82 #821C45 #78821C #1C8259
square
#261C82 #821C45 #78821C #1C8259
split-complementary
#261C82 #82591C #45821C
monochromatic
#09061D #171150 #261C82 #3527B4 #5142D6

Accessibility & contrast

On white

13.37
#261C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261C82
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C82#FFFFFF#000000##FFFFFF
##261C821.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261c82;
/* rgb */ color: rgb(38, 28, 130);
/* oklch */ color: oklch(32.2% 0.161 276.8);
Tailwind
colors: {
  custom: {
    50: '#6f5aa7',
    500: '#261c82',
    950: '#000000',
  },
}
SCSS
$custom: #261c82;
$custom-light: #6f5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#261c82",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 245.882,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.1605,
    "h": 276.8
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#261C82
secondary
#AAB544
accent
#E840D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261C82

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

Preview Lab → · Contrast checker → · Palette generator →

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