#261F96#261F96

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

Color values

HEX#261F96
RGBrgb(38, 31, 150)
HSLhsl(244, 66%, 35%)
HSVhsv(244, 79%, 59%)
CMYKcmyk(74.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(22.28, 42.50, -62.95)
CIE-LCHlch(22.28, 75.95, 304.02°)
OKLaboklab(34.85% 0.0127 -0.1821)
OKLCHoklch(34.85% 0.183 274)
XYZxyz(6.7925, 3.5934, 29.1839)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F96 #8F961F
analogous
#1F5496 #261F96 #611F96
triadic
#261F96 #96261F #1F9626
tetradic
#261F96 #961F54 #8F961F #1F9661
square
#261F96 #961F54 #8F961F #1F9661
split-complementary
#261F96 #96611F #54961F
monochromatic
#0C0A31 #191563 #261F96 #3329C9 #5C54DC

Accessibility & contrast

On white

12.22
#261F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F96
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F96#FFFFFF#000000##FFFFFF
##261F961.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #261f96;
/* rgb */ color: rgb(38, 31, 150);
/* oklch */ color: oklch(34.9% 0.183 274.0);
Tailwind
colors: {
  custom: {
    50: '#745db6',
    500: '#261f96',
    950: '#000000',
  },
}
SCSS
$custom: #261f96;
$custom-light: #745db6;
$custom-dark: #000000;
JSON
{
  "hex": "#261f96",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 243.529,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.18255,
    "h": 274
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#261F96
secondary
#B9BF52
accent
#E93FDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261F96

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

Preview Lab → · Contrast checker → · Palette generator →

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