#261D85#261D85

#261D85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.163 H 276.2°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#261D85
RGBrgb(38, 29, 133)
HSLhsl(245, 64%, 32%)
HSVhsv(245, 78%, 52%)
CMYKcmyk(71.4%, 78.2%, 0%, 47.8%)
CIE-LABlab(19.98, 37.97, -56.16)
CIE-LCHlch(19.98, 67.79, 304.06°)
OKLaboklab(32.67% 0.0177 -0.1623)
OKLCHoklch(32.67% 0.163 276.2)
XYZxyz(5.4709, 2.9838, 22.4734)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D85 #7C851D
analogous
#1D4885 #261D85 #5A1D85
triadic
#261D85 #85261D #1D8526
tetradic
#261D85 #851D48 #7C851D #1D855A
square
#261D85 #851D48 #7C851D #1D855A
split-complementary
#261D85 #855A1D #48851D
monochromatic
#090721 #181253 #261D85 #3428B7 #5246D7

Accessibility & contrast

On white

13.15
#261D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#261D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D85
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D85#FFFFFF#000000##FFFFFF
##261D851.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261d85;
/* rgb */ color: rgb(38, 29, 133);
/* oklch */ color: oklch(32.7% 0.163 276.2);
Tailwind
colors: {
  custom: {
    50: '#705baa',
    500: '#261d85',
    950: '#000000',
  },
}
SCSS
$custom: #261d85;
$custom-light: #705baa;
$custom-dark: #000000;
JSON
{
  "hex": "#261d85",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 245.192,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3267,
    "c": 0.1633,
    "h": 276.2
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#261D85
secondary
#AEB846
accent
#E741D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261D85

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

Preview Lab → · Contrast checker → · Palette generator →

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