#261788#261788

#261788 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.172 H 276.6°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#261788
RGBrgb(38, 23, 136)
HSLhsl(248, 71%, 31%)
HSVhsv(248, 83%, 53%)
CMYKcmyk(72.1%, 83.1%, 0%, 46.7%)
CIE-LABlab(19.23, 42.09, -59.28)
CIE-LCHlch(19.23, 72.71, 305.38°)
OKLaboklab(32.25% 0.0198 -0.1713)
OKLCHoklch(32.25% 0.172 276.6)
XYZxyz(5.5482, 2.8019, 23.5362)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261788 #798817
analogous
#174088 #261788 #5E1788
triadic
#261788 #882617 #178826
tetradic
#261788 #881740 #798817 #17885E
square
#261788 #881740 #798817 #17885E
split-complementary
#261788 #885E17 #408817
monochromatic
#09051F #170E54 #261788 #3520BC #513BDE

Accessibility & contrast

On white

13.46
#261788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261788
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261788#FFFFFF#000000##FFFFFF
##2617881.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261788;
/* rgb */ color: rgb(38, 23, 136);
/* oklch */ color: oklch(32.3% 0.172 276.6);
Tailwind
colors: {
  custom: {
    50: '#7158ac',
    500: '#261788',
    950: '#000000',
  },
}
SCSS
$custom: #261788;
$custom-light: #7158ac;
$custom-dark: #000000;
JSON
{
  "hex": "#261788",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 247.965,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.17248,
    "h": 276.6
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#261788
secondary
#ABBC3F
accent
#EE3AD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261788

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

Preview Lab → · Contrast checker → · Palette generator →

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