#261C84#261C84

#261C84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.163 H 276.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#261C84
RGBrgb(38, 28, 132)
HSLhsl(246, 65%, 31%)
HSVhsv(246, 79%, 52%)
CMYKcmyk(71.2%, 78.8%, 0%, 48.2%)
CIE-LABlab(19.67, 38.20, -56.04)
CIE-LCHlch(19.67, 67.82, 304.28°)
OKLaboklab(32.42% 0.0185 -0.162)
OKLCHoklch(32.42% 0.163 276.5)
XYZxyz(5.3781, 2.9080, 22.1032)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C84 #7A841C
analogous
#1C4684 #261C84 #5A1C84
triadic
#261C84 #84261C #1C8426
tetradic
#261C84 #841C46 #7A841C #1C845A
square
#261C84 #841C46 #7A841C #1C845A
split-complementary
#261C84 #845A1C #46841C
monochromatic
#09071F #171152 #261C84 #3527B6 #5143D7

Accessibility & contrast

On white

13.28
#261C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#261C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C84
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C84#FFFFFF#000000##FFFFFF
##261C841.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261c84;
/* rgb */ color: rgb(38, 28, 132);
/* oklch */ color: oklch(32.4% 0.163 276.5);
Tailwind
colors: {
  custom: {
    50: '#705ba9',
    500: '#261c84',
    950: '#000000',
  },
}
SCSS
$custom: #261c84;
$custom-light: #705ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#261c84",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 245.769,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32421,
    "c": 0.16302,
    "h": 276.5
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#261C84
secondary
#ACB745
accent
#E840D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261C84

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

Preview Lab → · Contrast checker → · Palette generator →

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