#261688#261688

#261688 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.173 H 276.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#261688
RGBrgb(38, 22, 136)
HSLhsl(248, 72%, 31%)
HSVhsv(248, 84%, 53%)
CMYKcmyk(72.1%, 83.8%, 0%, 46.7%)
CIE-LABlab(19.07, 42.57, -59.56)
CIE-LCHlch(19.07, 73.21, 305.56°)
OKLaboklab(32.14% 0.0202 -0.1721)
OKLCHoklch(32.14% 0.173 276.7)
XYZxyz(5.5287, 2.7629, 23.5297)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261688 #788816
analogous
#163F88 #261688 #5F1688
triadic
#261688 #882616 #168826
tetradic
#261688 #88163F #788816 #16885F
square
#261688 #88163F #788816 #16885F
split-complementary
#261688 #885F16 #3F8816
monochromatic
#09051F #170D53 #261688 #351FBD #5139DF

Accessibility & contrast

On white

13.53
#261688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261688
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261688#FFFFFF#000000##FFFFFF
##2616881.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261688;
/* rgb */ color: rgb(38, 22, 136);
/* oklch */ color: oklch(32.1% 0.173 276.7);
Tailwind
colors: {
  custom: {
    50: '#7157ac',
    500: '#261688',
    950: '#000000',
  },
}
SCSS
$custom: #261688;
$custom-light: #7157ac;
$custom-dark: #000000;
JSON
{
  "hex": "#261688",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 248.421,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32137,
    "c": 0.17329,
    "h": 276.7
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#261688
secondary
#AABC3E
accent
#EF39D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261688

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

Preview Lab → · Contrast checker → · Palette generator →

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