#261780#261780

#261780 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.163 H 277.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#261780
RGBrgb(38, 23, 128)
HSLhsl(249, 70%, 30%)
HSVhsv(249, 82%, 50%)
CMYKcmyk(70.3%, 82%, 0%, 49.8%)
CIE-LABlab(18.29, 39.56, -55.79)
CIE-LCHlch(18.29, 68.39, 305.34°)
OKLaboklab(31.32% 0.0222 -0.1612)
OKLCHoklch(31.32% 0.163 277.8)
XYZxyz(5.0007, 2.5829, 20.6529)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261780 #718017
analogous
#173D80 #261780 #5A1780
triadic
#261780 #802617 #178026
tetradic
#261780 #80173D #718017 #17805A
square
#261780 #80173D #718017 #17805A
split-complementary
#261780 #805A17 #3D8017
monochromatic
#08051A #170E4C #261780 #3520B4 #4E36DB

Accessibility & contrast

On white

13.85
#261780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261780
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261780#FFFFFF#000000##FFFFFF
##2617801.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261780;
/* rgb */ color: rgb(38, 23, 128);
/* oklch */ color: oklch(31.3% 0.163 277.8);
Tailwind
colors: {
  custom: {
    50: '#6f57a6',
    500: '#261780',
    950: '#000000',
  },
}
SCSS
$custom: #261780;
$custom-light: #6f57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#261780",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 248.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3132,
    "c": 0.16271,
    "h": 277.8
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#261780
secondary
#A4B43E
accent
#EC3BD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261780

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

Preview Lab → · Contrast checker → · Palette generator →

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