#261E97#261E97

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

Color values

HEX#261E97
RGBrgb(38, 30, 151)
HSLhsl(244, 67%, 35%)
HSVhsv(244, 80%, 59%)
CMYKcmyk(74.8%, 80.1%, 0%, 40.8%)
CIE-LABlab(22.21, 43.35, -63.68)
CIE-LCHlch(22.21, 77.04, 304.24°)
OKLaboklab(34.84% 0.0129 -0.1842)
OKLCHoklch(34.84% 0.185 274)
XYZxyz(6.8477, 3.5743, 29.6012)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E97 #8F971E
analogous
#1E5297 #261E97 #621E97
triadic
#261E97 #97261E #1E9726
tetradic
#261E97 #971E52 #8F971E #1E9762
square
#261E97 #971E52 #8F971E #1E9762
split-complementary
#261E97 #97621E #52971E
monochromatic
#0C0A31 #191464 #261E97 #3328CA #5C53DD

Accessibility & contrast

On white

12.24
#261E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#261E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E97
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E97#FFFFFF#000000##FFFFFF
##261E971.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #261e97;
/* rgb */ color: rgb(38, 30, 151);
/* oklch */ color: oklch(34.8% 0.185 274.0);
Tailwind
colors: {
  custom: {
    50: '#745db7',
    500: '#261e97',
    950: '#000000',
  },
}
SCSS
$custom: #261e97;
$custom-light: #745db7;
$custom-dark: #000000;
JSON
{
  "hex": "#261e97",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 243.967,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34837,
    "c": 0.18466,
    "h": 274
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#261E97
secondary
#B9C051
accent
#EA3EDE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261E97

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

Preview Lab → · Contrast checker → · Palette generator →

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