#261B8A#261B8A

#261B8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.171 H 275.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#261B8A
RGBrgb(38, 27, 138)
HSLhsl(246, 67%, 32%)
HSVhsv(246, 80%, 54%)
CMYKcmyk(72.5%, 80.4%, 0%, 45.9%)
CIE-LABlab(20.17, 40.71, -58.99)
CIE-LCHlch(20.17, 71.67, 304.61°)
OKLaboklab(32.97% 0.0175 -0.1705)
OKLCHoklch(32.97% 0.171 275.8)
XYZxyz(5.7772, 3.0304, 24.3203)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B8A #7F8A1B
analogous
#1B478A #261B8A #5E1B8A
triadic
#261B8A #8A261B #1B8A26
tetradic
#261B8A #8A1B47 #7F8A1B #1B8A5E
square
#261B8A #8A1B47 #7F8A1B #1B8A5E
split-complementary
#261B8A #8A5E1B #478A1B
monochromatic
#0A0724 #181157 #261B8A #3425BD #5445DB

Accessibility & contrast

On white

13.07
#261B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#261B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B8A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B8A#FFFFFF#000000##FFFFFF
##261B8A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261b8a;
/* rgb */ color: rgb(38, 27, 138);
/* oklch */ color: oklch(33.0% 0.171 275.8);
Tailwind
colors: {
  custom: {
    50: '#715aad',
    500: '#261b8a',
    950: '#000000',
  },
}
SCSS
$custom: #261b8a;
$custom-light: #715aad;
$custom-dark: #000000;
JSON
{
  "hex": "#261b8a",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 245.946,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32968,
    "c": 0.17144,
    "h": 275.8
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#261B8A
secondary
#B0BC45
accent
#EA3ED9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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