#261A98#261A98

#261A98 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.189 H 274.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#261A98
RGBrgb(38, 26, 152)
HSLhsl(246, 71%, 35%)
HSVhsv(246, 83%, 60%)
CMYKcmyk(75%, 82.9%, 0%, 40.4%)
CIE-LABlab(21.64, 45.66, -65.24)
CIE-LCHlch(21.64, 79.63, 304.99°)
OKLaboklab(34.48% 0.0141 -0.1887)
OKLCHoklch(34.48% 0.189 274.3)
XYZxyz(6.8343, 3.4172, 29.9991)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A98 #8C981A
analogous
#1A4D98 #261A98 #651A98
triadic
#261A98 #98261A #1A9826
tetradic
#261A98 #981A4D #8C981A #1A9865
square
#261A98 #981A4D #8C981A #1A9865
split-complementary
#261A98 #98651A #4D981A
monochromatic
#0C082F #191164 #261A98 #3323CC #5A4CE0

Accessibility & contrast

On white

12.47
#261A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#261A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A98
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A98#FFFFFF#000000##FFFFFF
##261A981.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #261a98;
/* rgb */ color: rgb(38, 26, 152);
/* oklch */ color: oklch(34.5% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#755bb8',
    500: '#261a98',
    950: '#000000',
  },
}
SCSS
$custom: #261a98;
$custom-light: #755bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#261a98",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 245.714,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34476,
    "c": 0.18919,
    "h": 274.3
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#261A98
secondary
#B7C24B
accent
#EE3ADC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261A98

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

Preview Lab → · Contrast checker → · Palette generator →

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