#261C7A#261C7A

#261C7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.150 H 278.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#261C7A
RGBrgb(38, 28, 122)
HSLhsl(246, 63%, 29%)
HSVhsv(246, 77%, 48%)
CMYKcmyk(68.9%, 77%, 0%, 52.2%)
CIE-LABlab(18.57, 34.85, -51.51)
CIE-LCHlch(18.57, 62.19, 304.08°)
OKLaboklab(31.32% 0.0209 -0.1488)
OKLCHoklch(31.32% 0.15 278)
XYZxyz(4.7263, 2.6473, 18.6705)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C7A #707A1C
analogous
#1C417A #261C7A #551C7A
triadic
#261C7A #7A261C #1C7A26
tetradic
#261C7A #7A1C41 #707A1C #1C7A55
square
#261C7A #7A1C41 #707A1C #1C7A55
split-complementary
#261C7A #7A551C #417A1C
monochromatic
#080619 #161148 #261C7A #3627AC #4E3ED3

Accessibility & contrast

On white

13.73
#261C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C7A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C7A#FFFFFF#000000##FFFFFF
##261C7A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261c7a;
/* rgb */ color: rgb(38, 28, 122);
/* oklch */ color: oklch(31.3% 0.150 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d5aa1',
    500: '#261c7a',
    950: '#000000',
  },
}
SCSS
$custom: #261c7a;
$custom-light: #6d5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#261c7a",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 246.383,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31318,
    "c": 0.15022,
    "h": 278
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#261C7A
secondary
#A3AE44
accent
#E642D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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