#261C8E#261C8E

#261C8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.175 H 275.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#261C8E
RGBrgb(38, 28, 142)
HSLhsl(245, 67%, 33%)
HSVhsv(245, 80%, 56%)
CMYKcmyk(73.2%, 80.3%, 0%, 44.3%)
CIE-LABlab(20.81, 41.48, -60.43)
CIE-LCHlch(20.81, 73.29, 304.47°)
OKLaboklab(33.55% 0.016 -0.1747)
OKLCHoklch(33.55% 0.175 275.2)
XYZxyz(6.0955, 3.1950, 25.8814)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C8E #848E1C
analogous
#1C4B8E #261C8E #5F1C8E
triadic
#261C8E #8E261C #1C8E26
tetradic
#261C8E #8E1C4B #848E1C #1C8E5F
square
#261C8E #8E1C4B #848E1C #1C8E5F
split-complementary
#261C8E #8E5F1C #4B8E1C
monochromatic
#0B0828 #18125B #261C8E #3426C1 #5649DB

Accessibility & contrast

On white

12.81
#261C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#261C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C8E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C8E#FFFFFF#000000##FFFFFF
##261C8E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261c8e;
/* rgb */ color: rgb(38, 28, 142);
/* oklch */ color: oklch(33.6% 0.175 275.2);
Tailwind
colors: {
  custom: {
    50: '#725bb0',
    500: '#261c8e',
    950: '#000000',
  },
}
SCSS
$custom: #261c8e;
$custom-light: #725bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#261c8e",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 245.263,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.17546,
    "h": 275.2
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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