#261E79#261E79

#261E79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.147 H 277.8°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#261E79
RGBrgb(38, 30, 121)
HSLhsl(245, 60%, 30%)
HSVhsv(245, 75%, 47%)
CMYKcmyk(68.6%, 75.2%, 0%, 52.5%)
CIE-LABlab(18.89, 33.32, -50.34)
CIE-LCHlch(18.89, 60.37, 303.50°)
OKLaboklab(31.51% 0.0198 -0.1454)
OKLCHoklch(31.51% 0.147 277.8)
XYZxyz(4.7137, 2.7207, 18.3622)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E79 #71791E
analogous
#1E4379 #261E79 #541E79
triadic
#261E79 #79261E #1E7926
tetradic
#261E79 #791E43 #71791E #1E7954
square
#261E79 #791E43 #71791E #1E7954
split-complementary
#261E79 #79541E #43791E
monochromatic
#080619 #171248 #261E79 #352AAA #4E41D0

Accessibility & contrast

On white

13.60
#261E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#261E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E79
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E79#FFFFFF#000000##FFFFFF
##261E791.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261e79;
/* rgb */ color: rgb(38, 30, 121);
/* oklch */ color: oklch(31.5% 0.147 277.8);
Tailwind
colors: {
  custom: {
    50: '#6d5ba1',
    500: '#261e79',
    950: '#000000',
  },
}
SCSS
$custom: #261e79;
$custom-light: #6d5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#261e79",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 245.275,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31511,
    "c": 0.14672,
    "h": 277.8
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#261E79
secondary
#A4AD46
accent
#E344D5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261E79

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

Preview Lab → · Contrast checker → · Palette generator →

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