#261BA7#261BA7

#261BA7 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.4% C 0.206 H 272.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#261BA7
RGBrgb(38, 27, 167)
HSLhsl(245, 72%, 38%)
HSVhsv(245, 84%, 65%)
CMYKcmyk(77.2%, 83.8%, 0%, 34.5%)
CIE-LABlab(23.62, 49.82, -71.11)
CIE-LCHlch(23.62, 86.83, 305.02°)
OKLaboklab(36.37% 0.0098 -0.2057)
OKLCHoklch(36.37% 0.206 272.7)
XYZxyz(8.1640, 3.9851, 36.8907)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261BA7 #9CA71B
analogous
#1B56A7 #261BA7 #6C1BA7
triadic
#261BA7 #A7261B #1BA726
tetradic
#261BA7 #A71B56 #9CA71B #1BA76C
square
#261BA7 #A71B56 #9CA71B #1BA76C
split-complementary
#261BA7 #A76C1B #56A71B
monochromatic
#0E0A3E #1A1272 #261BA7 #3224DC #6358E4

Accessibility & contrast

On white

11.68
#261BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#261BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261BA7
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261BA7#FFFFFF#000000##FFFFFF
##261BA71.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0031A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #261ba7;
/* rgb */ color: rgb(38, 27, 167);
/* oklch */ color: oklch(36.4% 0.206 272.7);
Tailwind
colors: {
  custom: {
    50: '#785cc3',
    500: '#261ba7',
    950: '#000000',
  },
}
SCSS
$custom: #261ba7;
$custom-light: #785cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#261ba7",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 244.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36369,
    "c": 0.20594,
    "h": 272.7
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#261BA7
secondary
#BFC856
accent
#EF39E1
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #261BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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