#261986#261986

#261986 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.168 H 276.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#261986
RGBrgb(38, 25, 134)
HSLhsl(247, 69%, 31%)
HSVhsv(247, 81%, 53%)
CMYKcmyk(71.6%, 81.3%, 0%, 47.5%)
CIE-LABlab(19.34, 40.45, -57.85)
CIE-LCHlch(19.34, 70.59, 304.97°)
OKLaboklab(32.26% 0.0195 -0.1672)
OKLCHoklch(32.26% 0.168 276.6)
XYZxyz(5.4486, 2.8281, 22.8084)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261986 #798619
analogous
#194286 #261986 #5C1986
triadic
#261986 #862619 #198626
tetradic
#261986 #861942 #798619 #19865C
square
#261986 #861942 #798619 #19865C
split-complementary
#261986 #865C19 #428619
monochromatic
#09061F #170F52 #261986 #3523BA #513EDB

Accessibility & contrast

On white

13.41
#261986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261986
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261986#FFFFFF#000000##FFFFFF
##2619861.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261986;
/* rgb */ color: rgb(38, 25, 134);
/* oklch */ color: oklch(32.3% 0.168 276.6);
Tailwind
colors: {
  custom: {
    50: '#7059aa',
    500: '#261986',
    950: '#000000',
  },
}
SCSS
$custom: #261986;
$custom-light: #7059aa;
$custom-dark: #000000;
JSON
{
  "hex": "#261986",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 247.156,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32257,
    "c": 0.16832,
    "h": 276.6
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#261986
secondary
#ABBA41
accent
#EB3CD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261986

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

Preview Lab → · Contrast checker → · Palette generator →

#261986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva