#261B83#261B83

#261B83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.163 H 276.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#261B83
RGBrgb(38, 27, 131)
HSLhsl(246, 66%, 31%)
HSVhsv(246, 79%, 51%)
CMYKcmyk(71%, 79.4%, 0%, 48.6%)
CIE-LABlab(19.37, 38.42, -55.91)
CIE-LCHlch(19.37, 67.84, 304.49°)
OKLaboklab(32.17% 0.0193 -0.1616)
OKLCHoklch(32.17% 0.163 276.8)
XYZxyz(5.2867, 2.8342, 21.7368)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B83 #78831B
analogous
#1B4483 #261B83 #5A1B83
triadic
#261B83 #83261B #1B8326
tetradic
#261B83 #831B44 #78831B #1B835A
square
#261B83 #831B44 #78831B #1B835A
split-complementary
#261B83 #835A1B #44831B
monochromatic
#09061E #171150 #261B83 #3525B6 #5141D8

Accessibility & contrast

On white

13.40
#261B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B83
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B83#FFFFFF#000000##FFFFFF
##261B831.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261b83;
/* rgb */ color: rgb(38, 27, 131);
/* oklch */ color: oklch(32.2% 0.163 276.8);
Tailwind
colors: {
  custom: {
    50: '#6f5aa8',
    500: '#261b83',
    950: '#000000',
  },
}
SCSS
$custom: #261b83;
$custom-light: #6f5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#261b83",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 246.346,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32174,
    "c": 0.16274,
    "h": 276.8
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#261B83
secondary
#AAB643
accent
#E93FD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261B83

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

Preview Lab → · Contrast checker → · Palette generator →

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