#261C8D#261C8D

#261C8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.174 H 275.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#261C8D
RGBrgb(38, 28, 141)
HSLhsl(245, 67%, 33%)
HSVhsv(245, 80%, 55%)
CMYKcmyk(73%, 80.1%, 0%, 44.7%)
CIE-LABlab(20.69, 41.15, -60.00)
CIE-LCHlch(20.69, 72.75, 304.45°)
OKLaboklab(33.44% 0.0162 -0.1735)
OKLCHoklch(33.44% 0.174 275.3)
XYZxyz(6.0207, 3.1651, 25.4878)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C8D #838D1C
analogous
#1C4A8D #261C8D #5E1C8D
triadic
#261C8D #8D261C #1C8D26
tetradic
#261C8D #8D1C4A #838D1C #1C8D5E
square
#261C8D #8D1C4A #838D1C #1C8D5E
split-complementary
#261C8D #8D5E1C #4A8D1C
monochromatic
#0A0827 #18125A #261C8D #3426C0 #5649DB

Accessibility & contrast

On white

12.86
#261C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#261C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C8D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C8D#FFFFFF#000000##FFFFFF
##261C8D1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261c8d;
/* rgb */ color: rgb(38, 28, 141);
/* oklch */ color: oklch(33.4% 0.174 275.3);
Tailwind
colors: {
  custom: {
    50: '#725bb0',
    500: '#261c8d',
    950: '#000000',
  },
}
SCSS
$custom: #261c8d;
$custom-light: #725bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#261c8d",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 245.31,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33438,
    "c": 0.17424,
    "h": 275.3
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#261C8D
secondary
#B2BD48
accent
#EA3EDB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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