#261985#261985

#261985 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.167 H 276.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#261985
RGBrgb(38, 25, 133)
HSLhsl(247, 68%, 31%)
HSVhsv(247, 81%, 52%)
CMYKcmyk(71.4%, 81.2%, 0%, 47.8%)
CIE-LABlab(19.23, 40.13, -57.41)
CIE-LCHlch(19.23, 70.05, 304.96°)
OKLaboklab(32.14% 0.0198 -0.1659)
OKLCHoklch(32.14% 0.167 276.8)
XYZxyz(5.3792, 2.8003, 22.4428)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261985 #788519
analogous
#194285 #261985 #5C1985
triadic
#261985 #852619 #198526
tetradic
#261985 #851942 #788519 #19855C
square
#261985 #851942 #788519 #19855C
split-complementary
#261985 #855C19 #428519
monochromatic
#09061E #170F51 #261985 #3523B9 #513EDB

Accessibility & contrast

On white

13.46
#261985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261985
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261985#FFFFFF#000000##FFFFFF
##2619851.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261985;
/* rgb */ color: rgb(38, 25, 133);
/* oklch */ color: oklch(32.1% 0.167 276.8);
Tailwind
colors: {
  custom: {
    50: '#7059aa',
    500: '#261985',
    950: '#000000',
  },
}
SCSS
$custom: #261985;
$custom-light: #7059aa;
$custom-dark: #000000;
JSON
{
  "hex": "#261985",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 247.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32142,
    "c": 0.16708,
    "h": 276.8
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#261985
secondary
#AAB941
accent
#EB3DD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261985

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

Preview Lab → · Contrast checker → · Palette generator →

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