#261C8B#261C8B

#261C8B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.172 H 275.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#261C8B
RGBrgb(38, 28, 139)
HSLhsl(245, 66%, 33%)
HSVhsv(245, 80%, 55%)
CMYKcmyk(72.7%, 79.9%, 0%, 45.5%)
CIE-LABlab(20.46, 40.50, -59.13)
CIE-LCHlch(20.46, 71.67, 304.41°)
OKLaboklab(33.21% 0.0167 -0.1709)
OKLCHoklch(33.21% 0.172 275.6)
XYZxyz(5.8733, 3.1061, 24.7111)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C8B #818B1C
analogous
#1C4A8B #261C8B #5D1C8B
triadic
#261C8B #8B261C #1C8B26
tetradic
#261C8B #8B1C4A #818B1C #1C8B5D
square
#261C8B #8B1C4A #818B1C #1C8B5D
split-complementary
#261C8B #8B5D1C #4A8B1C
monochromatic
#0A0725 #181258 #261C8B #3426BE #5547DA

Accessibility & contrast

On white

12.95
#261C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#261C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C8B
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C8B#FFFFFF#000000##FFFFFF
##261C8B1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261c8b;
/* rgb */ color: rgb(38, 28, 139);
/* oklch */ color: oklch(33.2% 0.172 275.6);
Tailwind
colors: {
  custom: {
    50: '#715bae',
    500: '#261c8b',
    950: '#000000',
  },
}
SCSS
$custom: #261c8b;
$custom-light: #715bae;
$custom-dark: #000000;
JSON
{
  "hex": "#261c8b",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 245.405,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3321,
    "c": 0.17177,
    "h": 275.6
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#261C8B
secondary
#B1BC47
accent
#E93EDA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #261C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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