#261E7D#261E7D

#261E7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.152 H 277.2°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#261E7D
RGBrgb(38, 30, 125)
HSLhsl(245, 61%, 30%)
HSVhsv(245, 76%, 49%)
CMYKcmyk(69.6%, 76%, 0%, 51%)
CIE-LABlab(19.31, 34.69, -52.20)
CIE-LCHlch(19.31, 62.68, 303.61°)
OKLaboklab(31.94% 0.019 -0.1508)
OKLCHoklch(31.94% 0.152 277.2)
XYZxyz(4.9641, 2.8209, 19.6809)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E7D #757D1E
analogous
#1E457D #261E7D #561E7D
triadic
#261E7D #7D261E #1E7D26
tetradic
#261E7D #7D1E45 #757D1E #1E7D56
square
#261E7D #7D1E45 #757D1E #1E7D56
split-complementary
#261E7D #7D561E #457D1E
monochromatic
#08061A #17124C #261E7D #352AAE #4F43D2

Accessibility & contrast

On white

13.43
#261E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E7D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E7D#FFFFFF#000000##FFFFFF
##261E7D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261e7d;
/* rgb */ color: rgb(38, 30, 125);
/* oklch */ color: oklch(31.9% 0.152 277.2);
Tailwind
colors: {
  custom: {
    50: '#6e5ba4',
    500: '#261e7d',
    950: '#000000',
  },
}
SCSS
$custom: #261e7d;
$custom-light: #6e5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#261e7d",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 245.053,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31938,
    "c": 0.15199,
    "h": 277.2
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#261E7D
secondary
#A7B046
accent
#E443D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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