#261E7E#261E7E

#261E7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.153 H 277.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#261E7E
RGBrgb(38, 30, 126)
HSLhsl(245, 62%, 31%)
HSVhsv(245, 76%, 49%)
CMYKcmyk(69.8%, 76.2%, 0%, 50.6%)
CIE-LABlab(19.42, 35.03, -52.66)
CIE-LCHlch(19.42, 63.25, 303.64°)
OKLaboklab(32.05% 0.0187 -0.1521)
OKLCHoklch(32.05% 0.153 277)
XYZxyz(5.0283, 2.8465, 20.0191)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E7E #767E1E
analogous
#1E467E #261E7E #561E7E
triadic
#261E7E #7E261E #1E7E26
tetradic
#261E7E #7E1E46 #767E1E #1E7E56
square
#261E7E #7E1E46 #767E1E #1E7E56
split-complementary
#261E7E #7E561E #467E1E
monochromatic
#08061B #17124D #261E7E #352AAF #5044D2

Accessibility & contrast

On white

13.38
#261E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261E7E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E7E#FFFFFF#000000##FFFFFF
##261E7E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261e7e;
/* rgb */ color: rgb(38, 30, 126);
/* oklch */ color: oklch(32.0% 0.153 277.0);
Tailwind
colors: {
  custom: {
    50: '#6e5ba4',
    500: '#261e7e',
    950: '#000000',
  },
}
SCSS
$custom: #261e7e;
$custom-light: #6e5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#261e7e",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 245,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32046,
    "c": 0.15329,
    "h": 277
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#261E7E
secondary
#A8B147
accent
#E543D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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