#261C99#261C99

#261C99 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.189 H 274.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#261C99
RGBrgb(38, 28, 153)
HSLhsl(245, 69%, 35%)
HSVhsv(245, 82%, 60%)
CMYKcmyk(75.2%, 81.7%, 0%, 40%)
CIE-LABlab(22.09, 45.01, -65.11)
CIE-LCHlch(22.09, 79.15, 304.66°)
OKLaboklab(34.82% 0.0131 -0.1883)
OKLCHoklch(34.82% 0.189 274)
XYZxyz(6.9624, 3.5418, 30.4475)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C99 #8F991C
analogous
#1C5099 #261C99 #641C99
triadic
#261C99 #99261C #1C9926
tetradic
#261C99 #991C50 #8F991C #1C9964
square
#261C99 #991C50 #8F991C #1C9964
split-complementary
#261C99 #99641C #50991C
monochromatic
#0C0932 #191365 #261C99 #3325CD #5C50DF

Accessibility & contrast

On white

12.29
#261C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#261C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C99
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C99#FFFFFF#000000##FFFFFF
##261C991.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #261c99;
/* rgb */ color: rgb(38, 28, 153);
/* oklch */ color: oklch(34.8% 0.189 274.0);
Tailwind
colors: {
  custom: {
    50: '#755cb8',
    500: '#261c99',
    950: '#000000',
  },
}
SCSS
$custom: #261c99;
$custom-light: #755cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#261c99",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 244.8,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34824,
    "c": 0.18877,
    "h": 274
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#261C99
secondary
#B9C24F
accent
#EC3CDE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261C99

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

Preview Lab → · Contrast checker → · Palette generator →

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