#261A8F#261A8F

#261A8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.178 H 275.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#261A8F
RGBrgb(38, 26, 143)
HSLhsl(246, 69%, 33%)
HSVhsv(246, 82%, 56%)
CMYKcmyk(73.4%, 81.8%, 0%, 43.9%)
CIE-LABlab(20.57, 42.83, -61.44)
CIE-LCHlch(20.57, 74.90, 304.88°)
OKLaboklab(33.42% 0.0166 -0.1777)
OKLCHoklch(33.42% 0.178 275.3)
XYZxyz(6.1250, 3.1334, 26.2633)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A8F #838F1A
analogous
#1A488F #261A8F #601A8F
triadic
#261A8F #8F261A #1A8F26
tetradic
#261A8F #8F1A48 #838F1A #1A8F60
square
#261A8F #8F1A48 #838F1A #1A8F60
split-complementary
#261A8F #8F601A #488F1A
monochromatic
#0A0727 #18115B #261A8F #3423C3 #5646DD

Accessibility & contrast

On white

12.91
#261A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#261A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A8F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A8F#FFFFFF#000000##FFFFFF
##261A8F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261a8f;
/* rgb */ color: rgb(38, 26, 143);
/* oklch */ color: oklch(33.4% 0.178 275.3);
Tailwind
colors: {
  custom: {
    50: '#725ab1',
    500: '#261a8f',
    950: '#000000',
  },
}
SCSS
$custom: #261a8f;
$custom-light: #725ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#261a8f",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 246.154,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33421,
    "c": 0.17843,
    "h": 275.3
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#261A8F
secondary
#B2BF46
accent
#EC3CDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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