#261D8E#261D8E

#261D8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.175 H 275.1°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#261D8E
RGBrgb(38, 29, 142)
HSLhsl(245, 66%, 34%)
HSVhsv(245, 80%, 56%)
CMYKcmyk(73.2%, 79.6%, 0%, 44.3%)
CIE-LABlab(20.99, 40.95, -60.12)
CIE-LCHlch(20.99, 72.74, 304.26°)
OKLaboklab(33.68% 0.0155 -0.1739)
OKLCHoklch(33.68% 0.175 275.1)
XYZxyz(6.1196, 3.2432, 25.8894)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D8E #858E1D
analogous
#1D4C8E #261D8E #5E1D8E
triadic
#261D8E #8E261D #1D8E26
tetradic
#261D8E #8E1D4C #858E1D #1D8E5E
square
#261D8E #8E1D4C #858E1D #1D8E5E
split-complementary
#261D8E #8E5E1D #4C8E1D
monochromatic
#0B0828 #18135B #261D8E #3427C1 #574BDA

Accessibility & contrast

On white

12.74
#261D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#261D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D8E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D8E#FFFFFF#000000##FFFFFF
##261D8E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261d8e;
/* rgb */ color: rgb(38, 29, 142);
/* oklch */ color: oklch(33.7% 0.175 275.1);
Tailwind
colors: {
  custom: {
    50: '#725cb0',
    500: '#261d8e',
    950: '#000000',
  },
}
SCSS
$custom: #261d8e;
$custom-light: #725cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#261d8e",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 244.779,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33681,
    "c": 0.17455,
    "h": 275.1
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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