#261D8D#261D8D

#261D8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.173 H 275.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#261D8D
RGBrgb(38, 29, 141)
HSLhsl(245, 66%, 33%)
HSVhsv(245, 79%, 55%)
CMYKcmyk(73%, 79.4%, 0%, 44.7%)
CIE-LABlab(20.88, 40.62, -59.69)
CIE-LCHlch(20.88, 72.20, 304.24°)
OKLaboklab(33.57% 0.0158 -0.1726)
OKLCHoklch(33.57% 0.173 275.2)
XYZxyz(6.0448, 3.2133, 25.4958)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D8D #848D1D
analogous
#1D4C8D #261D8D #5E1D8D
triadic
#261D8D #8D261D #1D8D26
tetradic
#261D8D #8D1D4C #848D1D #1D8D5E
square
#261D8D #8D1D4C #848D1D #1D8D5E
split-complementary
#261D8D #8D5E1D #4C8D1D
monochromatic
#0B0827 #18135A #261D8D #3427C0 #564BDA

Accessibility & contrast

On white

12.78
#261D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#261D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D8D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D8D#FFFFFF#000000##FFFFFF
##261D8D1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261d8d;
/* rgb */ color: rgb(38, 29, 141);
/* oklch */ color: oklch(33.6% 0.173 275.2);
Tailwind
colors: {
  custom: {
    50: '#725cb0',
    500: '#261d8d',
    950: '#000000',
  },
}
SCSS
$custom: #261d8d;
$custom-light: #725cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#261d8d",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 244.821,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33568,
    "c": 0.17332,
    "h": 275.2
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#261D8D
secondary
#B3BC4A
accent
#E93FDB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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