#261D97#261D97

#261D97 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.186 H 274.1°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#261D97
RGBrgb(38, 29, 151)
HSLhsl(244, 68%, 35%)
HSVhsv(244, 81%, 59%)
CMYKcmyk(74.8%, 80.8%, 0%, 40.8%)
CIE-LABlab(22.03, 43.87, -63.98)
CIE-LCHlch(22.03, 77.57, 304.44°)
OKLaboklab(34.71% 0.0133 -0.185)
OKLCHoklch(34.71% 0.186 274.1)
XYZxyz(6.8228, 3.5245, 29.5929)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D97 #8E971D
analogous
#1D5197 #261D97 #631D97
triadic
#261D97 #97261D #1D9726
tetradic
#261D97 #971D51 #8E971D #1D9763
square
#261D97 #971D51 #8E971D #1D9763
split-complementary
#261D97 #97631D #51971D
monochromatic
#0C0930 #191364 #261D97 #3327CA #5B51DE

Accessibility & contrast

On white

12.32
#261D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#261D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D97
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D97#FFFFFF#000000##FFFFFF
##261D971.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #261d97;
/* rgb */ color: rgb(38, 29, 151);
/* oklch */ color: oklch(34.7% 0.186 274.1);
Tailwind
colors: {
  custom: {
    50: '#745cb7',
    500: '#261d97',
    950: '#000000',
  },
}
SCSS
$custom: #261d97;
$custom-light: #745cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#261d97",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 244.426,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34712,
    "c": 0.18552,
    "h": 274.1
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#261D97
secondary
#B8C04F
accent
#EB3DDE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261D97

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

Preview Lab → · Contrast checker → · Palette generator →

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