#261C7B#261C7B

#261C7B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.152 H 277.8°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#261C7B
RGBrgb(38, 28, 123)
HSLhsl(246, 63%, 30%)
HSVhsv(246, 77%, 48%)
CMYKcmyk(69.1%, 77.2%, 0%, 51.8%)
CIE-LABlab(18.68, 35.19, -51.97)
CIE-LCHlch(18.68, 62.76, 304.10°)
OKLaboklab(31.43% 0.0207 -0.1501)
OKLCHoklch(31.43% 0.152 277.8)
XYZxyz(4.7886, 2.6722, 18.9985)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C7B #717B1C
analogous
#1C417B #261C7B #561C7B
triadic
#261C7B #7B261C #1C7B26
tetradic
#261C7B #7B1C41 #717B1C #1C7B56
square
#261C7B #7B1C41 #717B1C #1C7B56
split-complementary
#261C7B #7B561C #417B1C
monochromatic
#080619 #171149 #261C7B #3527AD #4E3ED3

Accessibility & contrast

On white

13.68
#261C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C7B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C7B#FFFFFF#000000##FFFFFF
##261C7B1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261c7b;
/* rgb */ color: rgb(38, 28, 123);
/* oklch */ color: oklch(31.4% 0.152 277.8);
Tailwind
colors: {
  custom: {
    50: '#6d5aa2',
    500: '#261c7b',
    950: '#000000',
  },
}
SCSS
$custom: #261c7b;
$custom-light: #6d5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#261c7b",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 246.316,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31427,
    "c": 0.15152,
    "h": 277.8
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#261C7B
secondary
#A4AF44
accent
#E642D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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