#261D83#261D83

#261D83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.161 H 276.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#261D83
RGBrgb(38, 29, 131)
HSLhsl(245, 64%, 31%)
HSVhsv(245, 78%, 51%)
CMYKcmyk(71%, 77.9%, 0%, 48.6%)
CIE-LABlab(19.76, 37.30, -55.27)
CIE-LCHlch(19.76, 66.68, 304.02°)
OKLaboklab(32.45% 0.0182 -0.1597)
OKLCHoklch(32.45% 0.161 276.5)
XYZxyz(5.3341, 2.9290, 21.7526)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D83 #7A831D
analogous
#1D4783 #261D83 #591D83
triadic
#261D83 #83261D #1D8326
tetradic
#261D83 #831D47 #7A831D #1D8359
square
#261D83 #831D47 #7A831D #1D8359
split-complementary
#261D83 #83591D #47831D
monochromatic
#09071F #171251 #261D83 #3528B5 #5145D6

Accessibility & contrast

On white

13.24
#261D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#261D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D83
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D83#FFFFFF#000000##FFFFFF
##261D831.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261d83;
/* rgb */ color: rgb(38, 29, 131);
/* oklch */ color: oklch(32.4% 0.161 276.5);
Tailwind
colors: {
  custom: {
    50: '#6f5ba8',
    500: '#261d83',
    950: '#000000',
  },
}
SCSS
$custom: #261d83;
$custom-light: #6f5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#261d83",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 245.294,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32448,
    "c": 0.16076,
    "h": 276.5
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#261D83
secondary
#ACB646
accent
#E741D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261D83

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

Preview Lab → · Contrast checker → · Palette generator →

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