#261785#261785

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

Color values

HEX#261785
RGBrgb(38, 23, 133)
HSLhsl(248, 71%, 31%)
HSVhsv(248, 83%, 52%)
CMYKcmyk(71.4%, 82.7%, 0%, 47.8%)
CIE-LABlab(18.88, 41.15, -57.99)
CIE-LCHlch(18.88, 71.10, 305.36°)
OKLaboklab(31.9% 0.0207 -0.1676)
OKLCHoklch(31.9% 0.169 277)
XYZxyz(5.3380, 2.7178, 22.4290)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261785 #768517
analogous
#173F85 #261785 #5D1785
triadic
#261785 #852617 #178526
tetradic
#261785 #85173F #768517 #17855D
square
#261785 #85173F #768517 #17855D
split-complementary
#261785 #855D17 #3F8517
monochromatic
#08051D #170E51 #261785 #3520B9 #503ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##261785#FFFFFF#000000##FFFFFF
##2617851.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)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261785;
/* rgb */ color: rgb(38, 23, 133);
/* oklch */ color: oklch(31.9% 0.169 277.0);
Tailwind
colors: {
  custom: {
    50: '#7058aa',
    500: '#261785',
    950: '#000000',
  },
}
SCSS
$custom: #261785;
$custom-light: #7058aa;
$custom-dark: #000000;
JSON
{
  "hex": "#261785",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 248.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.319,
    "c": 0.16883,
    "h": 277
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#261785
secondary
#A8B93F
accent
#ED3BD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261785

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

Preview Lab → · Contrast checker → · Palette generator →

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