#261F84#261F84

#261F84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.160 H 276.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#261F84
RGBrgb(38, 31, 132)
HSLhsl(244, 62%, 32%)
HSVhsv(244, 77%, 52%)
CMYKcmyk(71.2%, 76.5%, 0%, 48.2%)
CIE-LABlab(20.27, 36.49, -55.05)
CIE-LCHlch(20.27, 66.04, 303.54°)
OKLaboklab(32.85% 0.0168 -0.1591)
OKLCHoklch(32.85% 0.16 276)
XYZxyz(5.4528, 3.0575, 22.1281)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F84 #7D841F
analogous
#1F4B84 #261F84 #581F84
triadic
#261F84 #84261F #1F8426
tetradic
#261F84 #841F4B #7D841F #1F8458
square
#261F84 #841F4B #7D841F #1F8458
split-complementary
#261F84 #84581F #4B841F
monochromatic
#090821 #181352 #261F84 #342BB6 #5349D4

Accessibility & contrast

On white

13.03
#261F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#261F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F84
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F84#FFFFFF#000000##FFFFFF
##261F841.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261f84;
/* rgb */ color: rgb(38, 31, 132);
/* oklch */ color: oklch(32.8% 0.160 276.0);
Tailwind
colors: {
  custom: {
    50: '#6f5ca9',
    500: '#261f84',
    950: '#000000',
  },
}
SCSS
$custom: #261f84;
$custom-light: #6f5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#261f84",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 244.158,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32845,
    "c": 0.16,
    "h": 276
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#261F84
secondary
#AFB748
accent
#E543DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261F84

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

Preview Lab → · Contrast checker → · Palette generator →

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