#261D8C#261D8C

#261D8C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.172 H 275.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#261D8C
RGBrgb(38, 29, 140)
HSLhsl(245, 66%, 33%)
HSVhsv(245, 79%, 55%)
CMYKcmyk(72.9%, 79.3%, 0%, 45.1%)
CIE-LABlab(20.77, 40.29, -59.25)
CIE-LCHlch(20.77, 71.65, 304.22°)
OKLaboklab(33.46% 0.016 -0.1713)
OKLCHoklch(33.46% 0.172 275.3)
XYZxyz(5.9708, 3.1837, 25.1057)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D8C #838C1D
analogous
#1D4B8C #261D8C #5D1D8C
triadic
#261D8C #8C261D #1D8C26
tetradic
#261D8C #8C1D4B #838C1D #1D8C5D
square
#261D8C #8C1D4B #838C1D #1D8C5D
split-complementary
#261D8C #8C5D1D #4B8C1D
monochromatic
#0A0827 #181259 #261D8C #3428BF #564AD9

Accessibility & contrast

On white

12.83
#261D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D8C
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D8C#FFFFFF#000000##FFFFFF
##261D8C1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261d8c;
/* rgb */ color: rgb(38, 29, 140);
/* oklch */ color: oklch(33.5% 0.172 275.3);
Tailwind
colors: {
  custom: {
    50: '#715caf',
    500: '#261d8c',
    950: '#000000',
  },
}
SCSS
$custom: #261d8c;
$custom-light: #715caf;
$custom-dark: #000000;
JSON
{
  "hex": "#261d8c",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 244.865,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33455,
    "c": 0.17208,
    "h": 275.3
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#261D8C
secondary
#B2BC49
accent
#E93FDB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #261D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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