#261A8E#261A8E

#261A8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.177 H 275.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#261A8E
RGBrgb(38, 26, 142)
HSLhsl(246, 69%, 33%)
HSVhsv(246, 82%, 56%)
CMYKcmyk(73.2%, 81.7%, 0%, 44.3%)
CIE-LABlab(20.45, 42.51, -61.02)
CIE-LCHlch(20.45, 74.36, 304.86°)
OKLaboklab(33.31% 0.0168 -0.1764)
OKLCHoklch(33.31% 0.177 275.4)
XYZxyz(6.0496, 3.1033, 25.8661)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A8E #828E1A
analogous
#1A488E #261A8E #601A8E
triadic
#261A8E #8E261A #1A8E26
tetradic
#261A8E #8E1A48 #828E1A #1A8E60
square
#261A8E #8E1A48 #828E1A #1A8E60
split-complementary
#261A8E #8E601A #488E1A
monochromatic
#0A0727 #18115A #261A8E #3423C2 #5545DD

Accessibility & contrast

On white

12.96
#261A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#261A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A8E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A8E#FFFFFF#000000##FFFFFF
##261A8E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261a8e;
/* rgb */ color: rgb(38, 26, 142);
/* oklch */ color: oklch(33.3% 0.177 275.4);
Tailwind
colors: {
  custom: {
    50: '#725ab0',
    500: '#261a8e',
    950: '#000000',
  },
}
SCSS
$custom: #261a8e;
$custom-light: #725ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#261a8e",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 246.207,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.17721,
    "h": 275.4
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#261A8E
secondary
#B2BE45
accent
#EC3CDA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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