#261887#261887

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

Color values

HEX#261887
RGBrgb(38, 24, 135)
HSLhsl(248, 70%, 31%)
HSVhsv(248, 82%, 53%)
CMYKcmyk(71.9%, 82.2%, 0%, 47.1%)
CIE-LABlab(19.28, 41.28, -58.57)
CIE-LCHlch(19.28, 71.66, 305.18°)
OKLaboklab(32.25% 0.0197 -0.1693)
OKLCHoklch(32.25% 0.17 276.6)
XYZxyz(5.4977, 2.8141, 23.1704)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261887 #798718
analogous
#184187 #261887 #5D1887
triadic
#261887 #872618 #188726
tetradic
#261887 #871841 #798718 #18875D
square
#261887 #871841 #798718 #18875D
split-complementary
#261887 #875D18 #418718
monochromatic
#09061F #170F53 #261887 #3521BB #513DDC

Accessibility & contrast

On white

13.44
#261887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261887
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261887#FFFFFF#000000##FFFFFF
##2618871.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261887;
/* rgb */ color: rgb(38, 24, 135);
/* oklch */ color: oklch(32.3% 0.170 276.6);
Tailwind
colors: {
  custom: {
    50: '#7158ab',
    500: '#261887',
    950: '#000000',
  },
}
SCSS
$custom: #261887;
$custom-light: #7158ab;
$custom-dark: #000000;
JSON
{
  "hex": "#261887",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 247.568,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32251,
    "c": 0.17042,
    "h": 276.6
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#261887
secondary
#ABBB40
accent
#ED3BD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261887

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

Preview Lab → · Contrast checker → · Palette generator →

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