#261D77#261D77

#261D77 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.145 H 278.3°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#261D77
RGBrgb(38, 29, 119)
HSLhsl(246, 61%, 29%)
HSVhsv(246, 76%, 47%)
CMYKcmyk(68.1%, 75.6%, 0%, 53.3%)
CIE-LABlab(18.46, 33.23, -49.76)
CIE-LCHlch(18.46, 59.84, 303.74°)
OKLaboklab(31.15% 0.0209 -0.1437)
OKLCHoklch(31.15% 0.145 278.3)
XYZxyz(4.5674, 2.6223, 17.7147)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D77 #6E771D
analogous
#1D4177 #261D77 #531D77
triadic
#261D77 #77261D #1D7726
tetradic
#261D77 #771D41 #6E771D #1D7753
square
#261D77 #771D41 #6E771D #1D7753
split-complementary
#261D77 #77531D #41771D
monochromatic
#080619 #161146 #261D77 #3629A8 #4D3ED0

Accessibility & contrast

On white

13.77
#261D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D77
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D77#FFFFFF#000000##FFFFFF
##261D771.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261d77;
/* rgb */ color: rgb(38, 29, 119);
/* oklch */ color: oklch(31.1% 0.145 278.3);
Tailwind
colors: {
  custom: {
    50: '#6c5a9f',
    500: '#261d77',
    950: '#000000',
  },
}
SCSS
$custom: #261d77;
$custom-light: #6c5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#261d77",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 246,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31145,
    "c": 0.1452,
    "h": 278.3
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#261D77
secondary
#A1AB45
accent
#E444D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #261D77

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

Preview Lab → · Contrast checker → · Palette generator →

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