#261682#261682

#261682 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.166 H 277.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#261682
RGBrgb(38, 22, 130)
HSLhsl(249, 71%, 30%)
HSVhsv(249, 83%, 51%)
CMYKcmyk(70.8%, 83.1%, 0%, 49%)
CIE-LABlab(18.35, 40.69, -56.96)
CIE-LCHlch(18.35, 70.00, 305.54°)
OKLaboklab(31.43% 0.0221 -0.1646)
OKLCHoklch(31.43% 0.166 277.6)
XYZxyz(5.1142, 2.5971, 21.3465)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261682 #728216
analogous
#163C82 #261682 #5C1682
triadic
#261682 #822616 #168226
tetradic
#261682 #82163C #728216 #16825C
square
#261682 #82163C #728216 #16825C
split-complementary
#261682 #825C16 #3C8216
monochromatic
#08041A #170D4E #261682 #351FB6 #4E35DD

Accessibility & contrast

On white

13.82
#261682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261682
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261682#FFFFFF#000000##FFFFFF
##2616821.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261682;
/* rgb */ color: rgb(38, 22, 130);
/* oklch */ color: oklch(31.4% 0.166 277.6);
Tailwind
colors: {
  custom: {
    50: '#7057a8',
    500: '#261682',
    950: '#000000',
  },
}
SCSS
$custom: #261682;
$custom-light: #7057a8;
$custom-dark: #000000;
JSON
{
  "hex": "#261682",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 248.889,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31432,
    "c": 0.16603,
    "h": 277.6
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#261682
secondary
#A5B73D
accent
#EE3AD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261682

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

Preview Lab → · Contrast checker → · Palette generator →

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