#261782#261782

#261782 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.165 H 277.5°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#261782
RGBrgb(38, 23, 130)
HSLhsl(248, 70%, 30%)
HSVhsv(248, 82%, 51%)
CMYKcmyk(70.8%, 82.3%, 0%, 49%)
CIE-LABlab(18.52, 40.20, -56.67)
CIE-LCHlch(18.52, 69.48, 305.35°)
OKLaboklab(31.55% 0.0216 -0.1637)
OKLCHoklch(31.55% 0.165 277.5)
XYZxyz(5.1337, 2.6361, 21.3530)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261782 #738217
analogous
#173E82 #261782 #5B1782
triadic
#261782 #822617 #178226
tetradic
#261782 #82173E #738217 #17825B
square
#261782 #82173E #738217 #17825B
split-complementary
#261782 #825B17 #3E8217
monochromatic
#08051A #170E4E #261782 #3520B6 #4F38DC

Accessibility & contrast

On white

13.75
#261782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261782
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261782#FFFFFF#000000##FFFFFF
##2617821.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261782;
/* rgb */ color: rgb(38, 23, 130);
/* oklch */ color: oklch(31.6% 0.165 277.5);
Tailwind
colors: {
  custom: {
    50: '#7058a7',
    500: '#261782',
    950: '#000000',
  },
}
SCSS
$custom: #261782;
$custom-light: #7058a7;
$custom-dark: #000000;
JSON
{
  "hex": "#261782",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 248.411,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.16517,
    "h": 277.5
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#261782
secondary
#A6B63E
accent
#ED3BD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261782

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

Preview Lab → · Contrast checker → · Palette generator →

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