#261A8A#261A8A

#261A8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.172 H 276.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#261A8A
RGBrgb(38, 26, 138)
HSLhsl(246, 68%, 32%)
HSVhsv(246, 81%, 54%)
CMYKcmyk(72.5%, 81.2%, 0%, 45.9%)
CIE-LABlab(19.98, 41.23, -59.29)
CIE-LCHlch(19.98, 72.22, 304.81°)
OKLaboklab(32.84% 0.0179 -0.1714)
OKLCHoklch(32.84% 0.172 276)
XYZxyz(5.7547, 2.9853, 24.3128)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A8A #7E8A1A
analogous
#1A468A #261A8A #5E1A8A
triadic
#261A8A #8A261A #1A8A26
tetradic
#261A8A #8A1A46 #7E8A1A #1A8A5E
square
#261A8A #8A1A46 #7E8A1A #1A8A5E
split-complementary
#261A8A #8A5E1A #468A1A
monochromatic
#0A0723 #181057 #261A8A #3424BD #5343DC

Accessibility & contrast

On white

13.15
#261A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#261A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A8A
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A8A#FFFFFF#000000##FFFFFF
##261A8A1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261a8a;
/* rgb */ color: rgb(38, 26, 138);
/* oklch */ color: oklch(32.8% 0.172 276.0);
Tailwind
colors: {
  custom: {
    50: '#715aad',
    500: '#261a8a',
    950: '#000000',
  },
}
SCSS
$custom: #261a8a;
$custom-light: #715aad;
$custom-dark: #000000;
JSON
{
  "hex": "#261a8a",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 246.429,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32842,
    "c": 0.17234,
    "h": 276
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#261A8A
secondary
#B0BD43
accent
#EB3DD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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