#261E7F#261E7F

#261E7F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.155 H 276.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#261E7F
RGBrgb(38, 30, 127)
HSLhsl(245, 62%, 31%)
HSVhsv(245, 76%, 50%)
CMYKcmyk(70.1%, 76.4%, 0%, 50.2%)
CIE-LABlab(19.53, 35.37, -53.12)
CIE-LCHlch(19.53, 63.82, 303.66°)
OKLaboklab(32.15% 0.0185 -0.1535)
OKLCHoklch(32.15% 0.155 276.9)
XYZxyz(5.0931, 2.8725, 20.3606)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E7F #777F1E
analogous
#1E477F #261E7F #561E7F
triadic
#261E7F #7F261E #1E7F26
tetradic
#261E7F #7F1E47 #777F1E #1E7F56
square
#261E7F #7F1E47 #777F1E #1E7F56
split-complementary
#261E7F #7F561E #477F1E
monochromatic
#08071C #17124D #261E7F #352AB1 #5044D3

Accessibility & contrast

On white

13.34
#261E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E7F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E7F#FFFFFF#000000##FFFFFF
##261E7F1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261e7f;
/* rgb */ color: rgb(38, 30, 127);
/* oklch */ color: oklch(32.2% 0.155 276.9);
Tailwind
colors: {
  custom: {
    50: '#6e5ba5',
    500: '#261e7f',
    950: '#000000',
  },
}
SCSS
$custom: #261e7f;
$custom-light: #6e5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#261e7f",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 244.948,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32154,
    "c": 0.15458,
    "h": 276.9
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#261E7F
secondary
#A9B247
accent
#E543D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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