#261989#261989

#261989 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.172 H 276.2°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#261989
RGBrgb(38, 25, 137)
HSLhsl(247, 69%, 32%)
HSVhsv(247, 82%, 54%)
CMYKcmyk(72.3%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.69, 41.42, -59.15)
CIE-LCHlch(19.69, 72.21, 305.00°)
OKLaboklab(32.6% 0.0186 -0.171)
OKLCHoklch(32.6% 0.172 276.2)
XYZxyz(5.6608, 2.9129, 23.9260)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261989 #7C8919
analogous
#194489 #261989 #5E1989
triadic
#261989 #892619 #198926
tetradic
#261989 #891944 #7C8919 #19895E
square
#261989 #891944 #7C8919 #19895E
split-complementary
#261989 #895E19 #448919
monochromatic
#090621 #181055 #261989 #3422BD #5240DC

Accessibility & contrast

On white

13.27
#261989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#261989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261989
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261989#FFFFFF#000000##FFFFFF
##2619891.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261989;
/* rgb */ color: rgb(38, 25, 137);
/* oklch */ color: oklch(32.6% 0.172 276.2);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#261989',
    950: '#000000',
  },
}
SCSS
$custom: #261989;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#261989",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 246.964,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32604,
    "c": 0.17199,
    "h": 276.2
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#261989
secondary
#AEBC41
accent
#EC3CD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261989

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

Preview Lab → · Contrast checker → · Palette generator →

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