#261E8D#261E8D

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

Color values

HEX#261E8D
RGBrgb(38, 30, 141)
HSLhsl(244, 65%, 34%)
HSVhsv(244, 79%, 55%)
CMYKcmyk(73%, 78.7%, 0%, 44.7%)
CIE-LABlab(21.07, 40.08, -59.38)
CIE-LCHlch(21.07, 71.64, 304.02°)
OKLaboklab(33.7% 0.0153 -0.1717)
OKLCHoklch(33.7% 0.172 275.1)
XYZxyz(6.0697, 3.2631, 25.5041)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E8D #858D1E
analogous
#1E4D8D #261E8D #5D1E8D
triadic
#261E8D #8D261E #1E8D26
tetradic
#261E8D #8D1E4D #858D1E #1E8D5D
square
#261E8D #8D1E4D #858D1E #1E8D5D
split-complementary
#261E8D #8D5D1E #4D8D1E
monochromatic
#0B0928 #18135B #261E8D #3429BF #574CD9

Accessibility & contrast

On white

12.71
#261E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261E8D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E8D#FFFFFF#000000##FFFFFF
##261E8D1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261e8d;
/* rgb */ color: rgb(38, 30, 141);
/* oklch */ color: oklch(33.7% 0.172 275.1);
Tailwind
colors: {
  custom: {
    50: '#725cb0',
    500: '#261e8d',
    950: '#000000',
  },
}
SCSS
$custom: #261e8d;
$custom-light: #725cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#261e8d",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 244.324,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33701,
    "c": 0.17238,
    "h": 275.1
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#261E8D
secondary
#B3BC4B
accent
#E840DC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #261E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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