#261F87#261F87

#261F87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.164 H 275.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#261F87
RGBrgb(38, 31, 135)
HSLhsl(244, 63%, 33%)
HSVhsv(244, 77%, 53%)
CMYKcmyk(71.9%, 77%, 0%, 47.1%)
CIE-LABlab(20.60, 37.51, -56.40)
CIE-LCHlch(20.60, 67.73, 303.63°)
OKLaboklab(33.17% 0.0162 -0.163)
OKLCHoklch(33.17% 0.164 275.7)
XYZxyz(5.6611, 3.1408, 23.2249)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F87 #80871F
analogous
#1F4C87 #261F87 #5A1F87
triadic
#261F87 #87261F #1F8726
tetradic
#261F87 #871F4C #80871F #1F875A
square
#261F87 #871F4C #80871F #1F875A
split-complementary
#261F87 #875A1F #4C871F
monochromatic
#0A0823 #181455 #261F87 #342AB9 #544BD6

Accessibility & contrast

On white

12.90
#261F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F87
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F87#FFFFFF#000000##FFFFFF
##261F871.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261f87;
/* rgb */ color: rgb(38, 31, 135);
/* oklch */ color: oklch(33.2% 0.164 275.7);
Tailwind
colors: {
  custom: {
    50: '#705cab',
    500: '#261f87',
    950: '#000000',
  },
}
SCSS
$custom: #261f87;
$custom-light: #705cab;
$custom-dark: #000000;
JSON
{
  "hex": "#261f87",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 244.038,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33173,
    "c": 0.16384,
    "h": 275.7
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#261F87
secondary
#B1B84A
accent
#E642DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261F87

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

Preview Lab → · Contrast checker → · Palette generator →

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