#261F85#261F85

#261F85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.161 H 275.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#261F85
RGBrgb(38, 31, 133)
HSLhsl(244, 62%, 32%)
HSVhsv(244, 77%, 52%)
CMYKcmyk(71.4%, 76.7%, 0%, 47.8%)
CIE-LABlab(20.38, 36.83, -55.50)
CIE-LCHlch(20.38, 66.61, 303.57°)
OKLaboklab(32.95% 0.0166 -0.1604)
OKLCHoklch(32.95% 0.161 275.9)
XYZxyz(5.5216, 3.0850, 22.4902)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F85 #7E851F
analogous
#1F4B85 #261F85 #591F85
triadic
#261F85 #85261F #1F8526
tetradic
#261F85 #851F4B #7E851F #1F8559
square
#261F85 #851F4B #7E851F #1F8559
split-complementary
#261F85 #85591F #4B851F
monochromatic
#0A0822 #181353 #261F85 #342BB7 #534AD5

Accessibility & contrast

On white

12.99
#261F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F85
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F85#FFFFFF#000000##FFFFFF
##261F851.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261f85;
/* rgb */ color: rgb(38, 31, 133);
/* oklch */ color: oklch(33.0% 0.161 275.9);
Tailwind
colors: {
  custom: {
    50: '#705caa',
    500: '#261f85',
    950: '#000000',
  },
}
SCSS
$custom: #261f85;
$custom-light: #705caa;
$custom-dark: #000000;
JSON
{
  "hex": "#261f85",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 244.118,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32954,
    "c": 0.16128,
    "h": 275.9
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#261F85
secondary
#B0B749
accent
#E543DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261F85

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

Preview Lab → · Contrast checker → · Palette generator →

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