#261F91#261F91

#261F91 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.176 H 274.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#261F91
RGBrgb(38, 31, 145)
HSLhsl(244, 65%, 35%)
HSVhsv(244, 79%, 57%)
CMYKcmyk(73.8%, 78.6%, 0%, 43.1%)
CIE-LABlab(21.71, 40.85, -60.80)
CIE-LCHlch(21.71, 73.25, 303.90°)
OKLaboklab(34.28% 0.0139 -0.1758)
OKLCHoklch(34.28% 0.176 274.5)
XYZxyz(6.3985, 3.4357, 27.1085)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F91 #8A911F
analogous
#1F5191 #261F91 #5F1F91
triadic
#261F91 #91261F #1F9126
tetradic
#261F91 #911F51 #8A911F #1F915F
square
#261F91 #911F51 #8A911F #1F915F
split-complementary
#261F91 #915F1F #51911F
monochromatic
#0C092C #19145F #261F91 #332AC3 #5951DA

Accessibility & contrast

On white

12.45
#261F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#261F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F91
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F91#FFFFFF#000000##FFFFFF
##261F911.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #261f91;
/* rgb */ color: rgb(38, 31, 145);
/* oklch */ color: oklch(34.3% 0.176 274.5);
Tailwind
colors: {
  custom: {
    50: '#735db2',
    500: '#261f91',
    950: '#000000',
  },
}
SCSS
$custom: #261f91;
$custom-light: #735db2;
$custom-dark: #000000;
JSON
{
  "hex": "#261f91",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 243.684,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.1764,
    "h": 274.5
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#261F91
secondary
#B6BD4F
accent
#E840DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261F91

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

Preview Lab → · Contrast checker → · Palette generator →

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