#261784#261784

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

Color values

HEX#261784
RGBrgb(38, 23, 132)
HSLhsl(248, 70%, 30%)
HSVhsv(248, 83%, 52%)
CMYKcmyk(71.2%, 82.6%, 0%, 48.2%)
CIE-LABlab(18.76, 40.83, -57.55)
CIE-LCHlch(18.76, 70.56, 305.36°)
OKLaboklab(31.78% 0.021 -0.1663)
OKLCHoklch(31.78% 0.168 277.2)
XYZxyz(5.2692, 2.6903, 22.0669)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261784 #758417
analogous
#173E84 #261784 #5C1784
triadic
#261784 #842617 #178426
tetradic
#261784 #84173E #758417 #17845C
square
#261784 #84173E #758417 #17845C
split-complementary
#261784 #845C17 #3E8417
monochromatic
#08051C #170E50 #261784 #3520B8 #4F39DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##261784#FFFFFF#000000##FFFFFF
##2617841.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)
#003287
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261784;
/* rgb */ color: rgb(38, 23, 132);
/* oklch */ color: oklch(31.8% 0.168 277.2);
Tailwind
colors: {
  custom: {
    50: '#7058a9',
    500: '#261784',
    950: '#000000',
  },
}
SCSS
$custom: #261784;
$custom-light: #7058a9;
$custom-dark: #000000;
JSON
{
  "hex": "#261784",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 248.257,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31783,
    "c": 0.16762,
    "h": 277.2
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261784

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

Preview Lab → · Contrast checker → · Palette generator →

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