#261D8B#261D8B

#261D8B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.171 H 275.5°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#261D8B
RGBrgb(38, 29, 139)
HSLhsl(245, 65%, 33%)
HSVhsv(245, 79%, 55%)
CMYKcmyk(72.7%, 79.1%, 0%, 45.5%)
CIE-LABlab(20.65, 39.96, -58.82)
CIE-LCHlch(20.65, 71.11, 304.20°)
OKLaboklab(33.34% 0.0163 -0.1701)
OKLCHoklch(33.34% 0.171 275.5)
XYZxyz(5.8974, 3.1543, 24.7191)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D8B #828B1D
analogous
#1D4B8B #261D8B #5D1D8B
triadic
#261D8B #8B261D #1D8B26
tetradic
#261D8B #8B1D4B #828B1D #1D8B5D
square
#261D8B #8B1D4B #828B1D #1D8B5D
split-complementary
#261D8B #8B5D1D #4B8B1D
monochromatic
#0A0826 #181258 #261D8B #3428BE #5549D9

Accessibility & contrast

On white

12.88
#261D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#261D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D8B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D8B#FFFFFF#000000##FFFFFF
##261D8B1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261d8b;
/* rgb */ color: rgb(38, 29, 139);
/* oklch */ color: oklch(33.3% 0.171 275.5);
Tailwind
colors: {
  custom: {
    50: '#715cae',
    500: '#261d8b',
    950: '#000000',
  },
}
SCSS
$custom: #261d8b;
$custom-light: #715cae;
$custom-dark: #000000;
JSON
{
  "hex": "#261d8b",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 244.909,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33342,
    "c": 0.17083,
    "h": 275.5
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#261D8B
secondary
#B2BB49
accent
#E83FDB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #261D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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