#261C83#261C83

#261C83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.162 H 276.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#261C83
RGBrgb(38, 28, 131)
HSLhsl(246, 65%, 31%)
HSVhsv(246, 79%, 51%)
CMYKcmyk(71%, 78.6%, 0%, 48.6%)
CIE-LABlab(19.56, 37.87, -55.59)
CIE-LCHlch(19.56, 67.26, 304.26°)
OKLaboklab(32.31% 0.0188 -0.1607)
OKLCHoklch(32.31% 0.162 276.7)
XYZxyz(5.3100, 2.8808, 21.7445)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C83 #79831C
analogous
#1C4583 #261C83 #591C83
triadic
#261C83 #83261C #1C8326
tetradic
#261C83 #831C45 #79831C #1C8359
square
#261C83 #831C45 #79831C #1C8359
split-complementary
#261C83 #83591C #45831C
monochromatic
#09061E #171151 #261C83 #3527B5 #5143D7

Accessibility & contrast

On white

13.32
#261C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#261C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C83
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C83#FFFFFF#000000##FFFFFF
##261C831.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261c83;
/* rgb */ color: rgb(38, 28, 131);
/* oklch */ color: oklch(32.3% 0.162 276.7);
Tailwind
colors: {
  custom: {
    50: '#6f5aa8',
    500: '#261c83',
    950: '#000000',
  },
}
SCSS
$custom: #261c83;
$custom-light: #6f5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#261c83",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 245.825,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32309,
    "c": 0.16176,
    "h": 276.7
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#261C83
secondary
#ABB645
accent
#E840D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261C83

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

Preview Lab → · Contrast checker → · Palette generator →

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