#261786#261786

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

Color values

HEX#261786
RGBrgb(38, 23, 134)
HSLhsl(248, 71%, 31%)
HSVhsv(248, 83%, 53%)
CMYKcmyk(71.6%, 82.8%, 0%, 47.5%)
CIE-LABlab(18.99, 41.46, -58.42)
CIE-LCHlch(18.99, 71.64, 305.37°)
OKLaboklab(32.02% 0.0204 -0.1688)
OKLCHoklch(32.02% 0.17 276.9)
XYZxyz(5.4074, 2.7456, 22.7946)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261786 #778617
analogous
#173F86 #261786 #5D1786
triadic
#261786 #862617 #178626
tetradic
#261786 #86173F #778617 #17865D
square
#261786 #86173F #778617 #17865D
split-complementary
#261786 #865D17 #3F8617
monochromatic
#08051E #170E52 #261786 #3520BA #503ADD

Accessibility & contrast

On white

13.56
#261786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261786
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261786#FFFFFF#000000##FFFFFF
##2617861.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261786;
/* rgb */ color: rgb(38, 23, 134);
/* oklch */ color: oklch(32.0% 0.170 276.9);
Tailwind
colors: {
  custom: {
    50: '#7158aa',
    500: '#261786',
    950: '#000000',
  },
}
SCSS
$custom: #261786;
$custom-light: #7158aa;
$custom-dark: #000000;
JSON
{
  "hex": "#261786",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 248.108,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32016,
    "c": 0.17005,
    "h": 276.9
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#261786
secondary
#A9BA3F
accent
#ED3AD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261786

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

Preview Lab → · Contrast checker → · Palette generator →

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