#261A7A#261A7A

#261A7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.152 H 278.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#261A7A
RGBrgb(38, 26, 122)
HSLhsl(248, 65%, 29%)
HSVhsv(248, 79%, 48%)
CMYKcmyk(68.9%, 78.7%, 0%, 52.2%)
CIE-LABlab(18.17, 35.99, -52.17)
CIE-LCHlch(18.17, 63.38, 304.60°)
OKLaboklab(31.03% 0.0222 -0.1507)
OKLCHoklch(31.03% 0.152 278.4)
XYZxyz(4.6804, 2.5556, 18.6552)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A7A #6E7A1A
analogous
#1A3E7A #261A7A #561A7A
triadic
#261A7A #7A261A #1A7A26
tetradic
#261A7A #7A1A3E #6E7A1A #1A7A56
square
#261A7A #7A1A3E #6E7A1A #1A7A56
split-complementary
#261A7A #7A561A #3E7A1A
monochromatic
#080519 #160F48 #261A7A #3625AC #4D39D5

Accessibility & contrast

On white

13.90
#261A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261A7A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A7A#FFFFFF#000000##FFFFFF
##261A7A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261a7a;
/* rgb */ color: rgb(38, 26, 122);
/* oklch */ color: oklch(31.0% 0.152 278.4);
Tailwind
colors: {
  custom: {
    50: '#6d59a1',
    500: '#261a7a',
    950: '#000000',
  },
}
SCSS
$custom: #261a7a;
$custom-light: #6d59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#261a7a",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 247.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31033,
    "c": 0.1523,
    "h": 278.4
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#261A7A
secondary
#A1AE41
accent
#E840D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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