#261E82#261E82

#261E82 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.158 H 276.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#261E82
RGBrgb(38, 30, 130)
HSLhsl(245, 63%, 31%)
HSVhsv(245, 77%, 51%)
CMYKcmyk(70.8%, 76.9%, 0%, 49%)
CIE-LABlab(19.85, 36.39, -54.48)
CIE-LCHlch(19.85, 65.52, 303.74°)
OKLaboklab(32.48% 0.0179 -0.1574)
OKLCHoklch(32.48% 0.158 276.5)
XYZxyz(5.2915, 2.9518, 21.4057)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E82 #7A821E
analogous
#1E4882 #261E82 #581E82
triadic
#261E82 #82261E #1E8226
tetradic
#261E82 #821E48 #7A821E #1E8258
square
#261E82 #821E48 #7A821E #1E8258
split-complementary
#261E82 #82581E #48821E
monochromatic
#09071F #171350 #261E82 #3529B4 #5146D4

Accessibility & contrast

On white

13.20
#261E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#261E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E82
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E82#FFFFFF#000000##FFFFFF
##261E821.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261e82;
/* rgb */ color: rgb(38, 30, 130);
/* oklch */ color: oklch(32.5% 0.158 276.5);
Tailwind
colors: {
  custom: {
    50: '#6f5ca7',
    500: '#261e82',
    950: '#000000',
  },
}
SCSS
$custom: #261e82;
$custom-light: #6f5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#261e82",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 244.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.15846,
    "h": 276.5
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#261E82
secondary
#ACB547
accent
#E642D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261E82

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

Preview Lab → · Contrast checker → · Palette generator →

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