#261789#261789

#261789 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.174 H 276.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#261789
RGBrgb(38, 23, 137)
HSLhsl(248, 71%, 31%)
HSVhsv(248, 83%, 54%)
CMYKcmyk(72.3%, 83.2%, 0%, 46.3%)
CIE-LABlab(19.35, 42.41, -59.71)
CIE-LCHlch(19.35, 73.24, 305.38°)
OKLaboklab(32.37% 0.0195 -0.1726)
OKLCHoklch(32.37% 0.174 276.4)
XYZxyz(5.6196, 2.8305, 23.9122)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261789 #7A8917
analogous
#174189 #261789 #5F1789
triadic
#261789 #892617 #178926
tetradic
#261789 #891741 #7A8917 #17895F
square
#261789 #891741 #7A8917 #17895F
split-complementary
#261789 #895F17 #418917
monochromatic
#090520 #170E55 #261789 #3520BD #513CDE

Accessibility & contrast

On white

13.41
#261789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261789
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261789#FFFFFF#000000##FFFFFF
##2617891.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261789;
/* rgb */ color: rgb(38, 23, 137);
/* oklch */ color: oklch(32.4% 0.174 276.4);
Tailwind
colors: {
  custom: {
    50: '#7158ad',
    500: '#261789',
    950: '#000000',
  },
}
SCSS
$custom: #261789;
$custom-light: #7158ad;
$custom-dark: #000000;
JSON
{
  "hex": "#261789",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 247.895,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32368,
    "c": 0.17368,
    "h": 276.4
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261789

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

Preview Lab → · Contrast checker → · Palette generator →

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