#261A7B#261A7B

#261A7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.154 H 278.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#261A7B
RGBrgb(38, 26, 123)
HSLhsl(247, 65%, 29%)
HSVhsv(247, 79%, 48%)
CMYKcmyk(69.1%, 78.9%, 0%, 51.8%)
CIE-LABlab(18.28, 36.32, -52.63)
CIE-LCHlch(18.28, 63.95, 304.61°)
OKLaboklab(31.14% 0.0219 -0.152)
OKLCHoklch(31.14% 0.154 278.2)
XYZxyz(4.7427, 2.5805, 18.9832)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A7B #6F7B1A
analogous
#1A3F7B #261A7B #571A7B
triadic
#261A7B #7B261A #1A7B26
tetradic
#261A7B #7B1A3F #6F7B1A #1A7B57
square
#261A7B #7B1A3F #6F7B1A #1A7B57
split-complementary
#261A7B #7B571A #3F7B1A
monochromatic
#080519 #160F48 #261A7B #3625AE #4D3AD5

Accessibility & contrast

On white

13.85
#261A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A7B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A7B#FFFFFF#000000##FFFFFF
##261A7B1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261a7b;
/* rgb */ color: rgb(38, 26, 123);
/* oklch */ color: oklch(31.1% 0.154 278.2);
Tailwind
colors: {
  custom: {
    50: '#6e59a2',
    500: '#261a7b',
    950: '#000000',
  },
}
SCSS
$custom: #261a7b;
$custom-light: #6e59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#261a7b",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 247.423,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31144,
    "c": 0.15358,
    "h": 278.2
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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