#261978#261978

#261978 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.151 H 278.9°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#261978
RGBrgb(38, 25, 120)
HSLhsl(248, 66%, 28%)
HSVhsv(248, 79%, 47%)
CMYKcmyk(68.3%, 79.2%, 0%, 52.9%)
CIE-LABlab(17.75, 35.89, -51.58)
CIE-LCHlch(17.75, 62.84, 304.83°)
OKLaboklab(30.67% 0.0233 -0.1489)
OKLCHoklch(30.67% 0.151 278.9)
XYZxyz(4.5360, 2.4630, 18.0020)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261978 #6B7819
analogous
#193B78 #261978 #551978
triadic
#261978 #782619 #197826
tetradic
#261978 #78193B #6B7819 #197855
square
#261978 #78193B #6B7819 #197855
split-complementary
#261978 #785519 #3B7819
monochromatic
#080519 #160E45 #261978 #3624AB #4C36D5

Accessibility & contrast

On white

14.07
#261978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#261978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261978
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261978#FFFFFF#000000##FFFFFF
##2619781.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261978;
/* rgb */ color: rgb(38, 25, 120);
/* oklch */ color: oklch(30.7% 0.151 278.9);
Tailwind
colors: {
  custom: {
    50: '#6d58a0',
    500: '#261978',
    950: '#000000',
  },
}
SCSS
$custom: #261978;
$custom-light: #6d58a0;
$custom-dark: #000000;
JSON
{
  "hex": "#261978",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 248.211,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30674,
    "c": 0.15076,
    "h": 278.9
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#261978
secondary
#9EAD40
accent
#E83FD1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261978

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

Preview Lab → · Contrast checker → · Palette generator →

#261978 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva