#261794#261794

#261794 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.187 H 275.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#261794
RGBrgb(38, 23, 148)
HSLhsl(247, 73%, 34%)
HSVhsv(247, 84%, 58%)
CMYKcmyk(74.3%, 84.5%, 0%, 42%)
CIE-LABlab(20.68, 45.82, -64.36)
CIE-LCHlch(20.68, 79.01, 305.45°)
OKLaboklab(33.67% 0.0162 -0.1861)
OKLCHoklch(33.67% 0.187 275)
XYZxyz(6.4493, 3.1623, 28.2817)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261794 #859417
analogous
#174694 #261794 #641794
triadic
#261794 #942617 #179426
tetradic
#261794 #941746 #859417 #179464
square
#261794 #941746 #859417 #179464
split-complementary
#261794 #946417 #469417
monochromatic
#0B072A #180F5F #261794 #341FC9 #5744E2

Accessibility & contrast

On white

12.86
#261794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#261794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261794
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261794#FFFFFF#000000##FFFFFF
##2617941.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261794;
/* rgb */ color: rgb(38, 23, 148);
/* oklch */ color: oklch(33.7% 0.187 275.0);
Tailwind
colors: {
  custom: {
    50: '#7459b5',
    500: '#261794',
    950: '#000000',
  },
}
SCSS
$custom: #261794;
$custom-light: #7459b5;
$custom-dark: #000000;
JSON
{
  "hex": "#261794",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 247.2,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33673,
    "c": 0.18678,
    "h": 275
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261794

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

Preview Lab → · Contrast checker → · Palette generator →

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