#261687#261687

#261687 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.172 H 276.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#261687
RGBrgb(38, 22, 135)
HSLhsl(248, 72%, 31%)
HSVhsv(248, 84%, 53%)
CMYKcmyk(71.9%, 83.7%, 0%, 47.1%)
CIE-LABlab(18.95, 42.26, -59.13)
CIE-LCHlch(18.95, 72.68, 305.56°)
OKLaboklab(32.02% 0.0205 -0.1709)
OKLCHoklch(32.02% 0.172 276.9)
XYZxyz(5.4580, 2.7347, 23.1572)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261687 #778716
analogous
#163E87 #261687 #5E1687
triadic
#261687 #872616 #168726
tetradic
#261687 #87163E #778716 #16875E
square
#261687 #87163E #778716 #16875E
split-complementary
#261687 #875E16 #3E8716
monochromatic
#08051E #170D52 #261687 #351FBC #5039DF

Accessibility & contrast

On white

13.57
#261687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261687
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261687#FFFFFF#000000##FFFFFF
##2616871.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261687;
/* rgb */ color: rgb(38, 22, 135);
/* oklch */ color: oklch(32.0% 0.172 276.9);
Tailwind
colors: {
  custom: {
    50: '#7157ab',
    500: '#261687',
    950: '#000000',
  },
}
SCSS
$custom: #261687;
$custom-light: #7157ab;
$custom-dark: #000000;
JSON
{
  "hex": "#261687",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 248.496,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32019,
    "c": 0.17209,
    "h": 276.9
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#261687
secondary
#A9BB3E
accent
#EF39D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261687

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

Preview Lab → · Contrast checker → · Palette generator →

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