#261E52#261E52

#261E52 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.091 H 285.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#261E52
RGBrgb(38, 30, 82)
HSLhsl(249, 46%, 22%)
HSVhsv(249, 63%, 32%)
CMYKcmyk(53.7%, 63.4%, 0%, 67.8%)
CIE-LABlab(15.22, 19.59, -30.67)
CIE-LCHlch(15.22, 36.39, 302.57°)
OKLaboklab(27.73% 0.0249 -0.0877)
OKLCHoklch(27.73% 0.091 285.9)
XYZxyz(2.7861, 1.9497, 8.2105)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E52 #4A521E
analogous
#1E3052 #261E52 #401E52
triadic
#261E52 #52261E #1E5226
tetradic
#261E52 #521E30 #4A521E #1E5240
square
#261E52 #521E30 #4A521E #1E5240
split-complementary
#261E52 #52401E #30521E
monochromatic
#0A0816 #110E25 #261E52 #3B2E7F #503FAC

Accessibility & contrast

On white

15.11
#261E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#261E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E52
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E52#FFFFFF#000000##FFFFFF
##261E521.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#162A34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261e52;
/* rgb */ color: rgb(38, 30, 82);
/* oklch */ color: oklch(27.7% 0.091 285.9);
Tailwind
colors: {
  custom: {
    50: '#655a83',
    500: '#261e52',
    950: '#000000',
  },
}
SCSS
$custom: #261e52;
$custom-light: #655a83;
$custom-dark: #000000;
JSON
{
  "hex": "#261e52",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 249.231,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27726,
    "c": 0.09113,
    "h": 285.9
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#261E52
secondary
#7D8745
accent
#D652C2
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261E52

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

Preview Lab → · Contrast checker → · Palette generator →

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