#261D89#261D89

#261D89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.168 H 275.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#261D89
RGBrgb(38, 29, 137)
HSLhsl(245, 65%, 33%)
HSVhsv(245, 79%, 54%)
CMYKcmyk(72.3%, 78.8%, 0%, 46.3%)
CIE-LABlab(20.43, 39.30, -57.94)
CIE-LCHlch(20.43, 70.01, 304.15°)
OKLaboklab(33.12% 0.0167 -0.1675)
OKLCHoklch(33.12% 0.168 275.7)
XYZxyz(5.7526, 3.0964, 23.9566)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D89 #80891D
analogous
#1D4A89 #261D89 #5C1D89
triadic
#261D89 #89261D #1D8926
tetradic
#261D89 #891D4A #80891D #1D895C
square
#261D89 #891D4A #80891D #1D895C
split-complementary
#261D89 #895C1D #4A891D
monochromatic
#0A0824 #181256 #261D89 #3428BC #5448D8

Accessibility & contrast

On white

12.97
#261D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#261D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D89
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D89#FFFFFF#000000##FFFFFF
##261D891.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261d89;
/* rgb */ color: rgb(38, 29, 137);
/* oklch */ color: oklch(33.1% 0.168 275.7);
Tailwind
colors: {
  custom: {
    50: '#715bad',
    500: '#261d89',
    950: '#000000',
  },
}
SCSS
$custom: #261d89;
$custom-light: #715bad;
$custom-dark: #000000;
JSON
{
  "hex": "#261d89",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 245,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33117,
    "c": 0.16833,
    "h": 275.7
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#261D89
secondary
#B1BA47
accent
#E840DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261D89

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

Preview Lab → · Contrast checker → · Palette generator →

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