#261589#261589

#261589 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.175 H 276.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#261589
RGBrgb(38, 21, 137)
HSLhsl(249, 73%, 31%)
HSVhsv(249, 85%, 54%)
CMYKcmyk(72.3%, 84.7%, 0%, 46.3%)
CIE-LABlab(19.03, 43.35, -60.25)
CIE-LCHlch(19.03, 74.22, 305.74°)
OKLaboklab(32.15% 0.0203 -0.1741)
OKLCHoklch(32.15% 0.175 276.7)
XYZxyz(5.5814, 2.7540, 23.8995)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261589 #788915
analogous
#153E89 #261589 #601589
triadic
#261589 #892615 #158926
tetradic
#261589 #89153E #788915 #158960
square
#261589 #89153E #788915 #158960
split-complementary
#261589 #896015 #3E8915
monochromatic
#09051F #170D54 #261589 #351DBE #5138E0

Accessibility & contrast

On white

13.54
#261589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261589
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261589#FFFFFF#000000##FFFFFF
##2615891.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261589;
/* rgb */ color: rgb(38, 21, 137);
/* oklch */ color: oklch(32.1% 0.175 276.7);
Tailwind
colors: {
  custom: {
    50: '#7157ad',
    500: '#261589',
    950: '#000000',
  },
}
SCSS
$custom: #261589;
$custom-light: #7157ad;
$custom-dark: #000000;
JSON
{
  "hex": "#261589",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 248.793,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32146,
    "c": 0.17528,
    "h": 276.7
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#261589
secondary
#AABD3D
accent
#F038D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261589

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

Preview Lab → · Contrast checker → · Palette generator →

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