#261B80#261B80

#261B80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.159 H 277.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#261B80
RGBrgb(38, 27, 128)
HSLhsl(247, 65%, 30%)
HSVhsv(247, 79%, 50%)
CMYKcmyk(70.3%, 78.9%, 0%, 49.8%)
CIE-LABlab(19.03, 37.43, -54.57)
CIE-LCHlch(19.03, 66.17, 304.44°)
OKLaboklab(31.84% 0.0201 -0.1577)
OKLCHoklch(31.84% 0.159 277.3)
XYZxyz(5.0863, 2.7540, 20.6814)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B80 #75801B
analogous
#1B4280 #261B80 #591B80
triadic
#261B80 #80261B #1B8026
tetradic
#261B80 #801B42 #75801B #1B8059
square
#261B80 #801B42 #75801B #1B8059
split-complementary
#261B80 #80591B #42801B
monochromatic
#08061B #17104D #261B80 #3526B3 #4F3FD6

Accessibility & contrast

On white

13.54
#261B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B80
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B80#FFFFFF#000000##FFFFFF
##261B801.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261b80;
/* rgb */ color: rgb(38, 27, 128);
/* oklch */ color: oklch(31.8% 0.159 277.3);
Tailwind
colors: {
  custom: {
    50: '#6f5aa6',
    500: '#261b80',
    950: '#000000',
  },
}
SCSS
$custom: #261b80;
$custom-light: #6f5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#261b80",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 246.535,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31838,
    "c": 0.15895,
    "h": 277.3
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#261B80
secondary
#A7B443
accent
#E840D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261B80

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

Preview Lab → · Contrast checker → · Palette generator →

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