#261981#261981

#261981 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.162 H 277.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#261981
RGBrgb(38, 25, 129)
HSLhsl(248, 68%, 30%)
HSVhsv(248, 81%, 51%)
CMYKcmyk(70.5%, 80.6%, 0%, 49.4%)
CIE-LABlab(18.77, 38.84, -55.64)
CIE-LCHlch(18.77, 67.86, 304.92°)
OKLaboklab(31.69% 0.0209 -0.1608)
OKLCHoklch(31.69% 0.162 277.4)
XYZxyz(5.1081, 2.6919, 21.0150)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261981 #748119
analogous
#194081 #261981 #5A1981
triadic
#261981 #812619 #198126
tetradic
#261981 #811940 #748119 #19815A
square
#261981 #811940 #748119 #19815A
split-complementary
#261981 #815A19 #408119
monochromatic
#08051A #170F4E #261981 #3523B4 #4F3BD9

Accessibility & contrast

On white

13.65
#261981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261981
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261981#FFFFFF#000000##FFFFFF
##2619811.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261981;
/* rgb */ color: rgb(38, 25, 129);
/* oklch */ color: oklch(31.7% 0.162 277.4);
Tailwind
colors: {
  custom: {
    50: '#6f59a7',
    500: '#261981',
    950: '#000000',
  },
}
SCSS
$custom: #261981;
$custom-light: #6f59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#261981",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 247.5,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31685,
    "c": 0.16213,
    "h": 277.4
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#261981
secondary
#A6B541
accent
#EA3DD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #261981

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

Preview Lab → · Contrast checker → · Palette generator →

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