#261AB3#261AB3

#261AB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.220 H 271.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#261AB3
RGBrgb(38, 26, 179)
HSLhsl(245, 75%, 40%)
HSVhsv(245, 85%, 70%)
CMYKcmyk(78.8%, 85.5%, 0%, 29.8%)
CIE-LABlab(24.97, 53.85, -76.10)
CIE-LCHlch(24.97, 93.23, 305.28°)
OKLaboklab(37.72% 0.0068 -0.2201)
OKLCHoklch(37.72% 0.22 271.8)
XYZxyz(9.3027, 4.4045, 42.9990)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261AB3 #A7B31A
analogous
#1A5AB3 #261AB3 #731AB3
triadic
#261AB3 #B3261A #1AB326
tetradic
#261AB3 #B31A5A #A7B31A #1AB373
square
#261AB3 #B31A5A #A7B31A #1AB373
split-complementary
#261AB3 #B3731A #5AB31A
monochromatic
#0F0A48 #1B127E #261AB3 #382AE0 #6A60E8

Accessibility & contrast

On white

11.16
#261AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#261AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261AB3
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261AB3#FFFFFF#000000##FFFFFF
##261AB31.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #261ab3;
/* rgb */ color: rgb(38, 26, 179);
/* oklch */ color: oklch(37.7% 0.220 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b5dcb',
    500: '#261ab3',
    950: '#000000',
  },
}
SCSS
$custom: #261ab3;
$custom-light: #7b5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#261ab3",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 244.706,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37718,
    "c": 0.22023,
    "h": 271.8
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#261AB3
secondary
#C3CC5D
accent
#F137E3
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #261AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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