#261C7F#261C7F

#261C7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.157 H 277.2°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#261C7F
RGBrgb(38, 28, 127)
HSLhsl(246, 64%, 30%)
HSVhsv(246, 78%, 50%)
CMYKcmyk(70.1%, 78%, 0%, 50.2%)
CIE-LABlab(19.12, 36.53, -53.79)
CIE-LCHlch(19.12, 65.02, 304.18°)
OKLaboklab(31.87% 0.0197 -0.1554)
OKLCHoklch(31.87% 0.157 277.2)
XYZxyz(5.0441, 2.7744, 20.3443)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C7F #757F1C
analogous
#1C437F #261C7F #581C7F
triadic
#261C7F #7F261C #1C7F26
tetradic
#261C7F #7F1C43 #757F1C #1C7F58
square
#261C7F #7F1C43 #757F1C #1C7F58
split-complementary
#261C7F #7F581C #437F1C
monochromatic
#08061B #17114D #261C7F #3527B1 #4F40D5

Accessibility & contrast

On white

13.50
#261C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C7F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C7F#FFFFFF#000000##FFFFFF
##261C7F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261c7f;
/* rgb */ color: rgb(38, 28, 127);
/* oklch */ color: oklch(31.9% 0.157 277.2);
Tailwind
colors: {
  custom: {
    50: '#6e5aa5',
    500: '#261c7f',
    950: '#000000',
  },
}
SCSS
$custom: #261c7f;
$custom-light: #6e5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#261c7f",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 246.061,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31865,
    "c": 0.15667,
    "h": 277.2
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#261C7F
secondary
#A7B344
accent
#E741D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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