#261C95#261C95

#261C95 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.184 H 274.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#261C95
RGBrgb(38, 28, 149)
HSLhsl(245, 68%, 35%)
HSVhsv(245, 81%, 58%)
CMYKcmyk(74.5%, 81.2%, 0%, 41.6%)
CIE-LABlab(21.62, 43.73, -63.42)
CIE-LCHlch(21.62, 77.04, 304.59°)
OKLaboklab(34.36% 0.0142 -0.1834)
OKLCHoklch(34.36% 0.184 274.4)
XYZxyz(6.6376, 3.4118, 28.7367)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C95 #8B951C
analogous
#1C4E95 #261C95 #631C95
triadic
#261C95 #95261C #1C9526
tetradic
#261C95 #951C4E #8B951C #1C9563
square
#261C95 #951C4E #8B951C #1C9563
split-complementary
#261C95 #95631C #4E951C
monochromatic
#0C092E #191261 #261C95 #3326C9 #5A4EDE

Accessibility & contrast

On white

12.48
#261C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#261C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C95
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C95#FFFFFF#000000##FFFFFF
##261C951.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002E93
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #261c95;
/* rgb */ color: rgb(38, 28, 149);
/* oklch */ color: oklch(34.4% 0.184 274.4);
Tailwind
colors: {
  custom: {
    50: '#745cb5',
    500: '#261c95',
    950: '#000000',
  },
}
SCSS
$custom: #261c95;
$custom-light: #745cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#261c95",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 244.959,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34359,
    "c": 0.18397,
    "h": 274.4
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#261C95
secondary
#B7C04D
accent
#EB3DDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261C95

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

Preview Lab → · Contrast checker → · Palette generator →

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