#261F86#261F86

#261F86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.163 H 275.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#261F86
RGBrgb(38, 31, 134)
HSLhsl(244, 62%, 32%)
HSVhsv(244, 77%, 53%)
CMYKcmyk(71.6%, 76.9%, 0%, 47.5%)
CIE-LABlab(20.49, 37.17, -55.95)
CIE-LCHlch(20.49, 67.17, 303.60°)
OKLaboklab(33.06% 0.0164 -0.1617)
OKLCHoklch(33.06% 0.163 275.8)
XYZxyz(5.5910, 3.1128, 22.8558)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F86 #7F861F
analogous
#1F4B86 #261F86 #5A1F86
triadic
#261F86 #86261F #1F8626
tetradic
#261F86 #861F4B #7F861F #1F865A
square
#261F86 #861F4B #7F861F #1F865A
split-complementary
#261F86 #865A1F #4B861F
monochromatic
#0A0823 #181454 #261F86 #342AB8 #544AD5

Accessibility & contrast

On white

12.94
#261F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F86
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F86#FFFFFF#000000##FFFFFF
##261F861.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261f86;
/* rgb */ color: rgb(38, 31, 134);
/* oklch */ color: oklch(33.1% 0.163 275.8);
Tailwind
colors: {
  custom: {
    50: '#705caa',
    500: '#261f86',
    950: '#000000',
  },
}
SCSS
$custom: #261f86;
$custom-light: #705caa;
$custom-dark: #000000;
JSON
{
  "hex": "#261f86",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 244.078,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33063,
    "c": 0.16256,
    "h": 275.8
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#261F86
secondary
#B0B849
accent
#E542DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261F86

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

Preview Lab → · Contrast checker → · Palette generator →

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