#261C8F#261C8F

#261C8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.177 H 275.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#261C8F
RGBrgb(38, 28, 143)
HSLhsl(245, 67%, 34%)
HSVhsv(245, 80%, 56%)
CMYKcmyk(73.4%, 80.4%, 0%, 43.9%)
CIE-LABlab(20.92, 41.80, -60.86)
CIE-LCHlch(20.92, 73.83, 304.49°)
OKLaboklab(33.67% 0.0157 -0.176)
OKLCHoklch(33.67% 0.177 275.1)
XYZxyz(6.1709, 3.2251, 26.2786)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C8F #858F1C
analogous
#1C4B8F #261C8F #5F1C8F
triadic
#261C8F #8F261C #1C8F26
tetradic
#261C8F #8F1C4B #858F1C #1C8F5F
square
#261C8F #8F1C4B #858F1C #1C8F5F
split-complementary
#261C8F #8F5F1C #4B8F1C
monochromatic
#0B0829 #18125C #261C8F #3426C2 #574ADC

Accessibility & contrast

On white

12.76
#261C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#261C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C8F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C8F#FFFFFF#000000##FFFFFF
##261C8F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261c8f;
/* rgb */ color: rgb(38, 28, 143);
/* oklch */ color: oklch(33.7% 0.177 275.1);
Tailwind
colors: {
  custom: {
    50: '#725bb1',
    500: '#261c8f',
    950: '#000000',
  },
}
SCSS
$custom: #261c8f;
$custom-light: #725bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#261c8f",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 245.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33667,
    "c": 0.17669,
    "h": 275.1
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#261C8F
secondary
#B3BE49
accent
#EA3EDB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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