#261B88#261B88

#261B88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.169 H 276.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#261B88
RGBrgb(38, 27, 136)
HSLhsl(246, 67%, 32%)
HSVhsv(246, 80%, 53%)
CMYKcmyk(72.1%, 80.1%, 0%, 46.7%)
CIE-LABlab(19.94, 40.06, -58.12)
CIE-LCHlch(19.94, 70.59, 304.57°)
OKLaboklab(32.74% 0.018 -0.168)
OKLCHoklch(32.74% 0.169 276.1)
XYZxyz(5.6337, 2.9730, 23.5647)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B88 #7D881B
analogous
#1B4788 #261B88 #5D1B88
triadic
#261B88 #88261B #1B8826
tetradic
#261B88 #881B47 #7D881B #1B885D
square
#261B88 #881B47 #7D881B #1B885D
split-complementary
#261B88 #885D1B #47881B
monochromatic
#090722 #181155 #261B88 #3425BB #5344DA

Accessibility & contrast

On white

13.17
#261B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#261B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B88
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B88#FFFFFF#000000##FFFFFF
##261B881.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261b88;
/* rgb */ color: rgb(38, 27, 136);
/* oklch */ color: oklch(32.7% 0.169 276.1);
Tailwind
colors: {
  custom: {
    50: '#715aac',
    500: '#261b88',
    950: '#000000',
  },
}
SCSS
$custom: #261b88;
$custom-light: #715aac;
$custom-dark: #000000;
JSON
{
  "hex": "#261b88",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 246.055,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32739,
    "c": 0.16897,
    "h": 276.1
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#261B88
secondary
#AFBB44
accent
#EA3ED8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261B88

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

Preview Lab → · Contrast checker → · Palette generator →

#261B88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva