#261D8F#261D8F

#261D8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.176 H 275.0°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#261D8F
RGBrgb(38, 29, 143)
HSLhsl(245, 66%, 34%)
HSVhsv(245, 80%, 56%)
CMYKcmyk(73.4%, 79.7%, 0%, 43.9%)
CIE-LABlab(21.11, 41.28, -60.56)
CIE-LCHlch(21.11, 73.29, 304.28°)
OKLaboklab(33.79% 0.0153 -0.1751)
OKLCHoklch(33.79% 0.176 275)
XYZxyz(6.1950, 3.2734, 26.2866)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D8F #868F1D
analogous
#1D4D8F #261D8F #5F1D8F
triadic
#261D8F #8F261D #1D8F26
tetradic
#261D8F #8F1D4D #868F1D #1D8F5F
square
#261D8F #8F1D4D #868F1D #1D8F5F
split-complementary
#261D8F #8F5F1D #4D8F1D
monochromatic
#0B0829 #18135C #261D8F #3427C2 #574CDB

Accessibility & contrast

On white

12.69
#261D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D8F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D8F#FFFFFF#000000##FFFFFF
##261D8F1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261d8f;
/* rgb */ color: rgb(38, 29, 143);
/* oklch */ color: oklch(33.8% 0.176 275.0);
Tailwind
colors: {
  custom: {
    50: '#725cb1',
    500: '#261d8f',
    950: '#000000',
  },
}
SCSS
$custom: #261d8f;
$custom-light: #725cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#261d8f",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 244.737,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33795,
    "c": 0.17578,
    "h": 275
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#261D8F
secondary
#B4BD4B
accent
#E93FDC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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