#261C77#261C77

#261C77 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.146 H 278.5°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#261C77
RGBrgb(38, 28, 119)
HSLhsl(247, 62%, 29%)
HSVhsv(247, 76%, 47%)
CMYKcmyk(68.1%, 76.5%, 0%, 53.3%)
CIE-LABlab(18.25, 33.83, -50.11)
CIE-LCHlch(18.25, 60.46, 304.02°)
OKLaboklab(30.99% 0.0216 -0.1447)
OKLCHoklch(30.99% 0.146 278.5)
XYZxyz(4.5433, 2.5741, 17.7066)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C77 #6D771C
analogous
#1C4077 #261C77 #541C77
triadic
#261C77 #77261C #1C7726
tetradic
#261C77 #771C40 #6D771C #1C7754
square
#261C77 #771C40 #6D771C #1C7754
split-complementary
#261C77 #77541C #40771C
monochromatic
#080619 #161045 #261C77 #3628A9 #4D3CD1

Accessibility & contrast

On white

13.86
#261C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#261C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C77
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C77#FFFFFF#000000##FFFFFF
##261C771.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261c77;
/* rgb */ color: rgb(38, 28, 119);
/* oklch */ color: oklch(31.0% 0.146 278.5);
Tailwind
colors: {
  custom: {
    50: '#6d5a9f',
    500: '#261c77',
    950: '#000000',
  },
}
SCSS
$custom: #261c77;
$custom-light: #6d5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#261c77",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 246.593,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30994,
    "c": 0.1463,
    "h": 278.5
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#261C77
secondary
#A0AB44
accent
#E543D3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #261C77

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

Preview Lab → · Contrast checker → · Palette generator →

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