#261796#261796

#261796 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.189 H 274.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#261796
RGBrgb(38, 23, 150)
HSLhsl(247, 73%, 34%)
HSVhsv(247, 85%, 59%)
CMYKcmyk(74.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(20.93, 46.43, -65.19)
CIE-LCHlch(20.93, 80.04, 305.46°)
OKLaboklab(33.91% 0.0157 -0.1885)
OKLCHoklch(33.91% 0.189 274.7)
XYZxyz(6.6089, 3.2262, 29.1227)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261796 #879617
analogous
#174896 #261796 #661796
triadic
#261796 #962617 #179626
tetradic
#261796 #961748 #879617 #179666
square
#261796 #961748 #879617 #179666
split-complementary
#261796 #966617 #489617
monochromatic
#0B072C #190F61 #261796 #331FCB #5845E2

Accessibility & contrast

On white

12.76
#261796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#261796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261796
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261796#FFFFFF#000000##FFFFFF
##2617961.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002C94
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261796;
/* rgb */ color: rgb(38, 23, 150);
/* oklch */ color: oklch(33.9% 0.189 274.7);
Tailwind
colors: {
  custom: {
    50: '#7459b6',
    500: '#261796',
    950: '#000000',
  },
}
SCSS
$custom: #261796;
$custom-light: #7459b6;
$custom-dark: #000000;
JSON
{
  "hex": "#261796",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 247.087,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33912,
    "c": 0.18912,
    "h": 274.7
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#261796
secondary
#B5C345
accent
#F038DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261796

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

Preview Lab → · Contrast checker → · Palette generator →

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