#261979#261979

#261979 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.152 H 278.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#261979
RGBrgb(38, 25, 121)
HSLhsl(248, 66%, 29%)
HSVhsv(248, 79%, 47%)
CMYKcmyk(68.6%, 79.3%, 0%, 52.5%)
CIE-LABlab(17.86, 36.22, -52.04)
CIE-LCHlch(17.86, 63.40, 304.84°)
OKLaboklab(30.79% 0.0231 -0.1503)
OKLCHoklch(30.79% 0.152 278.7)
XYZxyz(4.5970, 2.4874, 18.3233)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261979 #6C7919
analogous
#193C79 #261979 #561979
triadic
#261979 #792619 #197926
tetradic
#261979 #79193C #6C7919 #197956
square
#261979 #79193C #6C7919 #197956
split-complementary
#261979 #795619 #3C7919
monochromatic
#080519 #160F46 #261979 #3623AC #4C37D6

Accessibility & contrast

On white

14.02
#261979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#261979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261979
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261979#FFFFFF#000000##FFFFFF
##2619791.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261979;
/* rgb */ color: rgb(38, 25, 121);
/* oklch */ color: oklch(30.8% 0.152 278.7);
Tailwind
colors: {
  custom: {
    50: '#6d58a1',
    500: '#261979',
    950: '#000000',
  },
}
SCSS
$custom: #261979;
$custom-light: #6d58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#261979",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 248.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30785,
    "c": 0.15204,
    "h": 278.7
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#261979
secondary
#9FAE40
accent
#E93FD2
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261979

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

Preview Lab → · Contrast checker → · Palette generator →

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