#261F97#261F97

#261F97 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.184 H 273.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#261F97
RGBrgb(38, 31, 151)
HSLhsl(244, 66%, 36%)
HSVhsv(244, 79%, 59%)
CMYKcmyk(74.8%, 79.5%, 0%, 40.8%)
CIE-LABlab(22.39, 42.82, -63.38)
CIE-LCHlch(22.39, 76.49, 304.05°)
OKLaboklab(34.96% 0.0124 -0.1834)
OKLCHoklch(34.96% 0.184 273.9)
XYZxyz(6.8734, 3.6257, 29.6098)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F97 #90971F
analogous
#1F5497 #261F97 #621F97
triadic
#261F97 #97261F #1F9726
tetradic
#261F97 #971F54 #90971F #1F9762
square
#261F97 #971F54 #90971F #1F9762
split-complementary
#261F97 #97621F #54971F
monochromatic
#0C0A31 #191564 #261F97 #3329CA #5C54DC

Accessibility & contrast

On white

12.17
#261F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#261F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F97
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F97#FFFFFF#000000##FFFFFF
##261F971.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #261f97;
/* rgb */ color: rgb(38, 31, 151);
/* oklch */ color: oklch(35.0% 0.184 273.9);
Tailwind
colors: {
  custom: {
    50: '#745db7',
    500: '#261f97',
    950: '#000000',
  },
}
SCSS
$custom: #261f97;
$custom-light: #745db7;
$custom-dark: #000000;
JSON
{
  "hex": "#261f97",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 243.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34964,
    "c": 0.18377,
    "h": 273.9
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261F97

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

Preview Lab → · Contrast checker → · Palette generator →

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