#261B77#261B77

#261B77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.147 H 278.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#261B77
RGBrgb(38, 27, 119)
HSLhsl(247, 63%, 29%)
HSVhsv(247, 77%, 47%)
CMYKcmyk(68.1%, 77.3%, 0%, 53.3%)
CIE-LABlab(18.04, 34.41, -50.46)
CIE-LCHlch(18.04, 61.08, 304.30°)
OKLaboklab(30.85% 0.0223 -0.1457)
OKLCHoklch(30.85% 0.147 278.7)
XYZxyz(4.5200, 2.5275, 17.6988)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B77 #6C771B
analogous
#1B3E77 #261B77 #541B77
triadic
#261B77 #77261B #1B7726
tetradic
#261B77 #771B3E #6C771B #1B7754
square
#261B77 #771B3E #6C771B #1B7754
split-complementary
#261B77 #77541B #3E771B
monochromatic
#080619 #161045 #261B77 #3626A9 #4C3AD2

Accessibility & contrast

On white

13.95
#261B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#261B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B77
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B77#FFFFFF#000000##FFFFFF
##261B771.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261b77;
/* rgb */ color: rgb(38, 27, 119);
/* oklch */ color: oklch(30.8% 0.147 278.7);
Tailwind
colors: {
  custom: {
    50: '#6d599f',
    500: '#261b77',
    950: '#000000',
  },
}
SCSS
$custom: #261b77;
$custom-light: #6d599f;
$custom-dark: #000000;
JSON
{
  "hex": "#261b77",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 247.174,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30847,
    "c": 0.14739,
    "h": 278.7
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#261B77
secondary
#9FAB42
accent
#E642D2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #261B77

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

Preview Lab → · Contrast checker → · Palette generator →

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