#261C97#261C97

#261C97 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.186 H 274.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#261C97
RGBrgb(38, 28, 151)
HSLhsl(245, 69%, 35%)
HSVhsv(245, 81%, 59%)
CMYKcmyk(74.8%, 81.5%, 0%, 40.8%)
CIE-LABlab(21.86, 44.37, -64.27)
CIE-LCHlch(21.86, 78.09, 304.62°)
OKLaboklab(34.59% 0.0136 -0.1859)
OKLCHoklch(34.59% 0.186 274.2)
XYZxyz(6.7986, 3.4763, 29.5848)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C97 #8D971C
analogous
#1C5097 #261C97 #631C97
triadic
#261C97 #97261C #1C9726
tetradic
#261C97 #971C50 #8D971C #1C9763
square
#261C97 #971C50 #8D971C #1C9763
split-complementary
#261C97 #97631C #50971C
monochromatic
#0C0930 #191263 #261C97 #3326CB #5B4FDE

Accessibility & contrast

On white

12.39
#261C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#261C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C97
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C97#FFFFFF#000000##FFFFFF
##261C971.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #261c97;
/* rgb */ color: rgb(38, 28, 151);
/* oklch */ color: oklch(34.6% 0.186 274.2);
Tailwind
colors: {
  custom: {
    50: '#745cb7',
    500: '#261c97',
    950: '#000000',
  },
}
SCSS
$custom: #261c97;
$custom-light: #745cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#261c97",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 244.878,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34591,
    "c": 0.18638,
    "h": 274.2
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#261C97
secondary
#B8C14E
accent
#EC3CDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261C97

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

Preview Lab → · Contrast checker → · Palette generator →

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