#261E87#261E87

#261E87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.165 H 275.8°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#261E87
RGBrgb(38, 30, 135)
HSLhsl(245, 64%, 32%)
HSVhsv(245, 78%, 53%)
CMYKcmyk(71.9%, 77.8%, 0%, 47.1%)
CIE-LABlab(20.40, 38.08, -56.73)
CIE-LCHlch(20.40, 68.32, 303.87°)
OKLaboklab(33.03% 0.0167 -0.164)
OKLCHoklch(33.03% 0.165 275.8)
XYZxyz(5.6353, 3.0894, 23.2163)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E87 #7F871E
analogous
#1E4B87 #261E87 #5A1E87
triadic
#261E87 #87261E #1E8726
tetradic
#261E87 #871E4B #7F871E #1E875A
square
#261E87 #871E4B #7F871E #1E875A
split-complementary
#261E87 #875A1E #4B871E
monochromatic
#0A0823 #181355 #261E87 #3429B9 #5449D7

Accessibility & contrast

On white

12.98
#261E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#261E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E87
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E87#FFFFFF#000000##FFFFFF
##261E871.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261e87;
/* rgb */ color: rgb(38, 30, 135);
/* oklch */ color: oklch(33.0% 0.165 275.8);
Tailwind
colors: {
  custom: {
    50: '#705cab',
    500: '#261e87',
    950: '#000000',
  },
}
SCSS
$custom: #261e87;
$custom-light: #705cab;
$custom-dark: #000000;
JSON
{
  "hex": "#261e87",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 244.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.16484,
    "h": 275.8
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#261E87
secondary
#B0B948
accent
#E741DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261E87

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

Preview Lab → · Contrast checker → · Palette generator →

#261E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva