#261FA7#261FA7

#261FA7 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.203 H 272.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#261FA7
RGBrgb(38, 31, 167)
HSLhsl(243, 69%, 39%)
HSVhsv(243, 81%, 65%)
CMYKcmyk(77.2%, 81.4%, 0%, 34.5%)
CIE-LABlab(24.26, 47.95, -70.05)
CIE-LCHlch(24.26, 84.89, 304.39°)
OKLaboklab(36.81% 0.0086 -0.2027)
OKLCHoklch(36.81% 0.203 272.4)
XYZxyz(8.2620, 4.1812, 36.9233)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261FA7 #A0A71F
analogous
#1F5CA7 #261FA7 #6A1FA7
triadic
#261FA7 #A7261F #1FA726
tetradic
#261FA7 #A71F5C #A0A71F #1FA76A
square
#261FA7 #A71F5C #A0A71F #1FA76A
split-complementary
#261FA7 #A76A1F #5CA71F
monochromatic
#0F0C40 #1A1573 #261FA7 #342BD8 #665FE1

Accessibility & contrast

On white

11.44
#261FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#261FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261FA7
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261FA7#FFFFFF#000000##FFFFFF
##261FA71.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #261fa7;
/* rgb */ color: rgb(38, 31, 167);
/* oklch */ color: oklch(36.8% 0.203 272.4);
Tailwind
colors: {
  custom: {
    50: '#785fc3',
    500: '#261fa7',
    950: '#000000',
  },
}
SCSS
$custom: #261fa7;
$custom-light: #785fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#261fa7",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 243.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36811,
    "c": 0.20288,
    "h": 272.4
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#261FA7
secondary
#C0C65C
accent
#EC3CE3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #261FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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