#261C8C#261C8C

#261C8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.173 H 275.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#261C8C
RGBrgb(38, 28, 140)
HSLhsl(245, 67%, 33%)
HSVhsv(245, 80%, 55%)
CMYKcmyk(72.9%, 80%, 0%, 45.1%)
CIE-LABlab(20.58, 40.83, -59.56)
CIE-LCHlch(20.58, 72.21, 304.43°)
OKLaboklab(33.32% 0.0165 -0.1722)
OKLCHoklch(33.32% 0.173 275.5)
XYZxyz(5.9466, 3.1355, 25.0977)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C8C #828C1C
analogous
#1C4A8C #261C8C #5E1C8C
triadic
#261C8C #8C261C #1C8C26
tetradic
#261C8C #8C1C4A #828C1C #1C8C5E
square
#261C8C #8C1C4A #828C1C #1C8C5E
split-complementary
#261C8C #8C5E1C #4A8C1C
monochromatic
#0A0826 #181259 #261C8C #3426BF #5548DA

Accessibility & contrast

On white

12.91
#261C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#261C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C8C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C8C#FFFFFF#000000##FFFFFF
##261C8C1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261c8c;
/* rgb */ color: rgb(38, 28, 140);
/* oklch */ color: oklch(33.3% 0.173 275.5);
Tailwind
colors: {
  custom: {
    50: '#725baf',
    500: '#261c8c',
    950: '#000000',
  },
}
SCSS
$custom: #261c8c;
$custom-light: #725baf;
$custom-dark: #000000;
JSON
{
  "hex": "#261c8c",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 245.357,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33324,
    "c": 0.173,
    "h": 275.5
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#261C8C
secondary
#B2BC48
accent
#EA3EDA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #261C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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