#261B71#261B71

#261B71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.139 H 279.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#261B71
RGBrgb(38, 27, 113)
HSLhsl(248, 61%, 27%)
HSVhsv(248, 76%, 44%)
CMYKcmyk(66.4%, 76.1%, 0%, 55.7%)
CIE-LABlab(17.40, 32.38, -47.64)
CIE-LCHlch(17.40, 57.60, 304.20°)
OKLaboklab(30.2% 0.0237 -0.1375)
OKLCHoklch(30.2% 0.139 279.8)
XYZxyz(4.1709, 2.3879, 15.8607)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B71 #66711B
analogous
#1B3B71 #261B71 #511B71
triadic
#261B71 #71261B #1B7126
tetradic
#261B71 #711B3B #66711B #1B7151
square
#261B71 #711B3B #66711B #1B7151
split-complementary
#261B71 #71511B #3B711B
monochromatic
#080619 #150F40 #261B71 #3727A2 #4B37CF

Accessibility & contrast

On white

14.21
#261B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#261B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B71
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B71#FFFFFF#000000##FFFFFF
##261B711.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261b71;
/* rgb */ color: rgb(38, 27, 113);
/* oklch */ color: oklch(30.2% 0.139 279.8);
Tailwind
colors: {
  custom: {
    50: '#6b599b',
    500: '#261b71',
    950: '#000000',
  },
}
SCSS
$custom: #261b71;
$custom-light: #6b599b;
$custom-dark: #000000;
JSON
{
  "hex": "#261b71",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 247.674,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30202,
    "c": 0.13949,
    "h": 279.8
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#261B71
secondary
#99A642
accent
#E543D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #261B71

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

Preview Lab → · Contrast checker → · Palette generator →

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