#261987#261987

#261987 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.170 H 276.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#261987
RGBrgb(38, 25, 135)
HSLhsl(247, 69%, 31%)
HSVhsv(247, 81%, 53%)
CMYKcmyk(71.9%, 81.5%, 0%, 47.1%)
CIE-LABlab(19.46, 40.78, -58.28)
CIE-LCHlch(19.46, 71.13, 304.98°)
OKLaboklab(32.37% 0.0192 -0.1684)
OKLCHoklch(32.37% 0.17 276.5)
XYZxyz(5.5187, 2.8561, 23.1774)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261987 #7A8719
analogous
#194387 #261987 #5D1987
triadic
#261987 #872619 #198726
tetradic
#261987 #871943 #7A8719 #19875D
square
#261987 #871943 #7A8719 #19875D
split-complementary
#261987 #875D19 #438719
monochromatic
#090620 #170F53 #261987 #3523BB #513FDB

Accessibility & contrast

On white

13.36
#261987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261987
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261987#FFFFFF#000000##FFFFFF
##2619871.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261987;
/* rgb */ color: rgb(38, 25, 135);
/* oklch */ color: oklch(32.4% 0.170 276.5);
Tailwind
colors: {
  custom: {
    50: '#7159ab',
    500: '#261987',
    950: '#000000',
  },
}
SCSS
$custom: #261987;
$custom-light: #7159ab;
$custom-dark: #000000;
JSON
{
  "hex": "#261987",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 247.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32372,
    "c": 0.16954,
    "h": 276.5
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#261987
secondary
#ACBA41
accent
#EC3CD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261987

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

Preview Lab → · Contrast checker → · Palette generator →

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