#261D71#261D71

#261D71 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.137 H 279.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#261D71
RGBrgb(38, 29, 113)
HSLhsl(246, 59%, 28%)
HSVhsv(246, 74%, 44%)
CMYKcmyk(66.4%, 74.3%, 0%, 55.7%)
CIE-LABlab(17.84, 31.16, -46.92)
CIE-LCHlch(17.84, 56.33, 303.59°)
OKLaboklab(30.51% 0.0222 -0.1354)
OKLCHoklch(30.51% 0.137 279.3)
XYZxyz(4.2184, 2.4827, 15.8765)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D71 #68711D
analogous
#1D3E71 #261D71 #501D71
triadic
#261D71 #71261D #1D7126
tetradic
#261D71 #711D3E #68711D #1D7150
square
#261D71 #711D3E #68711D #1D7150
split-complementary
#261D71 #71501D #3E711D
monochromatic
#080618 #161140 #261D71 #3629A2 #4B3CCD

Accessibility & contrast

On white

14.03
#261D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#261D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D71
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D71#FFFFFF#000000##FFFFFF
##261D711.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261d71;
/* rgb */ color: rgb(38, 29, 113);
/* oklch */ color: oklch(30.5% 0.137 279.3);
Tailwind
colors: {
  custom: {
    50: '#6b5a9b',
    500: '#261d71',
    950: '#000000',
  },
}
SCSS
$custom: #261d71;
$custom-light: #6b5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#261d71",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 246.429,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.13718,
    "h": 279.3
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#261D71
secondary
#9BA544
accent
#E245D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261D71

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

Preview Lab → · Contrast checker → · Palette generator →

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