#261E71#261E71

#261E71 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.136 H 279.0°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#261E71
RGBrgb(38, 30, 113)
HSLhsl(246, 58%, 28%)
HSVhsv(246, 73%, 44%)
CMYKcmyk(66.4%, 73.5%, 0%, 55.7%)
CIE-LABlab(18.07, 30.54, -46.55)
CIE-LCHlch(18.07, 55.68, 303.27°)
OKLaboklab(30.67% 0.0214 -0.1343)
OKLCHoklch(30.67% 0.136 279)
XYZxyz(4.2433, 2.5325, 15.8848)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E71 #69711E
analogous
#1E3F71 #261E71 #4F1E71
triadic
#261E71 #71261E #1E7126
tetradic
#261E71 #711E3F #69711E #1E714F
square
#261E71 #711E3F #69711E #1E714F
split-complementary
#261E71 #714F1E #3F711E
monochromatic
#080618 #161141 #261E71 #362BA1 #4B3ECC

Accessibility & contrast

On white

13.94
#261E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#261E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E71
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E71#FFFFFF#000000##FFFFFF
##261E711.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261e71;
/* rgb */ color: rgb(38, 30, 113);
/* oklch */ color: oklch(30.7% 0.136 279.0);
Tailwind
colors: {
  custom: {
    50: '#6b5b9b',
    500: '#261e71',
    950: '#000000',
  },
}
SCSS
$custom: #261e71;
$custom-light: #6b5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#261e71",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 245.783,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30673,
    "c": 0.13599,
    "h": 279
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#261E71
secondary
#9CA546
accent
#E147D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261E71

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

Preview Lab → · Contrast checker → · Palette generator →

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