#261D81#261D81

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

Color values

HEX#261D81
RGBrgb(38, 29, 129)
HSLhsl(245, 63%, 31%)
HSVhsv(245, 78%, 51%)
CMYKcmyk(70.5%, 77.5%, 0%, 49.4%)
CIE-LABlab(19.54, 36.63, -54.37)
CIE-LCHlch(19.54, 65.56, 303.97°)
OKLaboklab(32.23% 0.0187 -0.1571)
OKLCHoklch(32.23% 0.158 276.8)
XYZxyz(5.1998, 2.8753, 21.0456)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D81 #78811D
analogous
#1D4681 #261D81 #581D81
triadic
#261D81 #81261D #1D8126
tetradic
#261D81 #811D46 #78811D #1D8158
square
#261D81 #811D46 #78811D #1D8158
split-complementary
#261D81 #81581D #46811D
monochromatic
#09071D #17124F #261D81 #3528B3 #5144D5

Accessibility & contrast

On white

13.33
#261D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D81
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D81#FFFFFF#000000##FFFFFF
##261D811.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261d81;
/* rgb */ color: rgb(38, 29, 129);
/* oklch */ color: oklch(32.2% 0.158 276.8);
Tailwind
colors: {
  custom: {
    50: '#6f5ba7',
    500: '#261d81',
    950: '#000000',
  },
}
SCSS
$custom: #261d81;
$custom-light: #6f5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#261d81",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 245.4,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32227,
    "c": 0.15821,
    "h": 276.8
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#261D81
secondary
#AAB446
accent
#E641D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261D81

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

Preview Lab → · Contrast checker → · Palette generator →

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