#261A81#261A81

#261A81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.161 H 277.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#261A81
RGBrgb(38, 26, 129)
HSLhsl(247, 66%, 30%)
HSVhsv(247, 80%, 51%)
CMYKcmyk(70.5%, 79.8%, 0%, 49.4%)
CIE-LABlab(18.95, 38.30, -55.33)
CIE-LCHlch(18.95, 67.30, 304.69°)
OKLaboklab(31.82% 0.0204 -0.1599)
OKLCHoklch(31.82% 0.161 277.3)
XYZxyz(5.1299, 2.7354, 21.0223)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A81 #75811A
analogous
#1A4281 #261A81 #591A81
triadic
#261A81 #81261A #1A8126
tetradic
#261A81 #811A42 #75811A #1A8159
square
#261A81 #811A42 #75811A #1A8159
split-complementary
#261A81 #81591A #42811A
monochromatic
#08051B #17104E #261A81 #3524B4 #4F3DD8

Accessibility & contrast

On white

13.57
#261A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##261A81#FFFFFF#000000##FFFFFF
##261A811.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)
#003284
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261a81;
/* rgb */ color: rgb(38, 26, 129);
/* oklch */ color: oklch(31.8% 0.161 277.3);
Tailwind
colors: {
  custom: {
    50: '#6f59a7',
    500: '#261a81',
    950: '#000000',
  },
}
SCSS
$custom: #261a81;
$custom-light: #6f59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#261a81",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 246.99,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31815,
    "c": 0.16118,
    "h": 277.3
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#261A81
secondary
#A7B542
accent
#E93ED5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261A81

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

Preview Lab → · Contrast checker → · Palette generator →

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