#261D7F#261D7F

#261D7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.156 H 277.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#261D7F
RGBrgb(38, 29, 127)
HSLhsl(246, 63%, 31%)
HSVhsv(246, 77%, 50%)
CMYKcmyk(70.1%, 77.2%, 0%, 50.2%)
CIE-LABlab(19.32, 35.96, -53.46)
CIE-LCHlch(19.32, 64.42, 303.93°)
OKLaboklab(32.01% 0.0191 -0.1545)
OKLCHoklch(32.01% 0.156 277.1)
XYZxyz(5.0682, 2.8227, 20.3523)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D7F #767F1D
analogous
#1D457F #261D7F #571D7F
triadic
#261D7F #7F261D #1D7F26
tetradic
#261D7F #7F1D45 #767F1D #1D7F57
square
#261D7F #7F1D45 #767F1D #1D7F57
split-complementary
#261D7F #7F571D #457F1D
monochromatic
#08061B #17124D #261D7F #3528B1 #5042D4

Accessibility & contrast

On white

13.42
#261D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D7F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D7F#FFFFFF#000000##FFFFFF
##261D7F1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261d7f;
/* rgb */ color: rgb(38, 29, 127);
/* oklch */ color: oklch(32.0% 0.156 277.1);
Tailwind
colors: {
  custom: {
    50: '#6e5ba5',
    500: '#261d7f',
    950: '#000000',
  },
}
SCSS
$custom: #261d7f;
$custom-light: #6e5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#261d7f",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 245.51,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.15564,
    "h": 277.1
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#261D7F
secondary
#A8B245
accent
#E642D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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