#261C7D#261C7D

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

Color values

HEX#261C7D
RGBrgb(38, 28, 125)
HSLhsl(246, 63%, 30%)
HSVhsv(246, 78%, 49%)
CMYKcmyk(69.6%, 77.6%, 0%, 51%)
CIE-LABlab(18.90, 35.86, -52.88)
CIE-LCHlch(18.90, 63.89, 304.14°)
OKLaboklab(31.65% 0.0202 -0.1528)
OKLCHoklch(31.65% 0.154 277.5)
XYZxyz(4.9151, 2.7228, 19.6646)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C7D #737D1C
analogous
#1C427D #261C7D #571C7D
triadic
#261C7D #7D261C #1C7D26
tetradic
#261C7D #7D1C42 #737D1C #1C7D57
square
#261C7D #7D1C42 #737D1C #1C7D57
split-complementary
#261C7D #7D571C #427D1C
monochromatic
#080619 #17114B #261C7D #3527AF #4F3FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##261C7D#FFFFFF#000000##FFFFFF
##261C7D1.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)
#003280
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261c7d;
/* rgb */ color: rgb(38, 28, 125);
/* oklch */ color: oklch(31.6% 0.154 277.5);
Tailwind
colors: {
  custom: {
    50: '#6e5aa4',
    500: '#261c7d',
    950: '#000000',
  },
}
SCSS
$custom: #261c7d;
$custom-light: #6e5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#261c7d",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 246.186,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31646,
    "c": 0.1541,
    "h": 277.5
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#261C7D
secondary
#A6B144
accent
#E641D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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