#261D82#261D82

#261D82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.159 H 276.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#261D82
RGBrgb(38, 29, 130)
HSLhsl(245, 64%, 31%)
HSVhsv(245, 78%, 51%)
CMYKcmyk(70.8%, 77.7%, 0%, 49%)
CIE-LABlab(19.65, 36.97, -54.82)
CIE-LCHlch(19.65, 66.12, 304.00°)
OKLaboklab(32.34% 0.0184 -0.1584)
OKLCHoklch(32.34% 0.159 276.6)
XYZxyz(5.2666, 2.9020, 21.3974)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D82 #79821D
analogous
#1D4682 #261D82 #581D82
triadic
#261D82 #82261D #1D8226
tetradic
#261D82 #821D46 #79821D #1D8258
square
#261D82 #821D46 #79821D #1D8258
split-complementary
#261D82 #82581D #46821D
monochromatic
#09071E #171250 #261D82 #3528B4 #5144D5

Accessibility & contrast

On white

13.29
#261D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D82
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D82#FFFFFF#000000##FFFFFF
##261D821.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261d82;
/* rgb */ color: rgb(38, 29, 130);
/* oklch */ color: oklch(32.3% 0.159 276.6);
Tailwind
colors: {
  custom: {
    50: '#6f5ba7',
    500: '#261d82',
    950: '#000000',
  },
}
SCSS
$custom: #261d82;
$custom-light: #6f5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#261d82",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 245.347,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32338,
    "c": 0.15949,
    "h": 276.6
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#261D82
secondary
#ABB546
accent
#E741D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261D82

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

Preview Lab → · Contrast checker → · Palette generator →

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