#261A71#261A71

#261A71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.141 H 280.0°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#261A71
RGBrgb(38, 26, 113)
HSLhsl(248, 63%, 27%)
HSVhsv(248, 77%, 44%)
CMYKcmyk(66.4%, 77%, 0%, 55.7%)
CIE-LABlab(17.19, 32.97, -47.99)
CIE-LCHlch(17.19, 58.22, 304.49°)
OKLaboklab(30.05% 0.0244 -0.1385)
OKLCHoklch(30.05% 0.141 280)
XYZxyz(4.1484, 2.3428, 15.8532)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A71 #65711A
analogous
#1A3971 #261A71 #521A71
triadic
#261A71 #71261A #1A7126
tetradic
#261A71 #711A39 #65711A #1A7152
square
#261A71 #711A39 #65711A #1A7152
split-complementary
#261A71 #71521A #39711A
monochromatic
#080619 #150F3F #261A71 #3725A3 #4A35D0

Accessibility & contrast

On white

14.30
#261A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#261A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A71
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A71#FFFFFF#000000##FFFFFF
##261A711.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261a71;
/* rgb */ color: rgb(38, 26, 113);
/* oklch */ color: oklch(30.1% 0.141 280.0);
Tailwind
colors: {
  custom: {
    50: '#6b589b',
    500: '#261a71',
    950: '#000000',
  },
}
SCSS
$custom: #261a71;
$custom-light: #6b589b;
$custom-dark: #000000;
JSON
{
  "hex": "#261a71",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 248.276,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30052,
    "c": 0.14062,
    "h": 280
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#261A71
secondary
#98A641
accent
#E642CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #261A71

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

Preview Lab → · Contrast checker → · Palette generator →

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