#261982#261982

#261982 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.163 H 277.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#261982
RGBrgb(38, 25, 130)
HSLhsl(247, 68%, 30%)
HSVhsv(247, 81%, 51%)
CMYKcmyk(70.8%, 80.8%, 0%, 49%)
CIE-LABlab(18.88, 39.16, -56.08)
CIE-LCHlch(18.88, 68.41, 304.93°)
OKLaboklab(31.8% 0.0206 -0.1621)
OKLCHoklch(31.8% 0.163 277.2)
XYZxyz(5.1749, 2.7186, 21.3668)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261982 #758219
analogous
#194082 #261982 #5B1982
triadic
#261982 #822619 #198226
tetradic
#261982 #821940 #758219 #19825B
square
#261982 #821940 #758219 #19825B
split-complementary
#261982 #825B19 #408219
monochromatic
#08051B #170F4F #261982 #3523B5 #4F3CD9

Accessibility & contrast

On white

13.60
#261982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#261982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##261982#FFFFFF#000000##FFFFFF
##2619821.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)
#003285
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261982;
/* rgb */ color: rgb(38, 25, 130);
/* oklch */ color: oklch(31.8% 0.163 277.2);
Tailwind
colors: {
  custom: {
    50: '#6f59a7',
    500: '#261982',
    950: '#000000',
  },
}
SCSS
$custom: #261982;
$custom-light: #6f59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#261982",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 247.429,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31799,
    "c": 0.16337,
    "h": 277.2
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#261982
secondary
#A7B641
accent
#EB3DD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261982

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

Preview Lab → · Contrast checker → · Palette generator →

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