#261FA1#261FA1

#261FA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.196 H 272.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#261FA1
RGBrgb(38, 31, 161)
HSLhsl(243, 68%, 38%)
HSVhsv(243, 81%, 63%)
CMYKcmyk(76.4%, 80.7%, 0%, 36.9%)
CIE-LABlab(23.55, 46.05, -67.58)
CIE-LCHlch(23.55, 81.78, 304.27°)
OKLaboklab(36.11% 0.0101 -0.1955)
OKLCHoklch(36.11% 0.196 272.9)
XYZxyz(7.7202, 3.9644, 34.0696)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261FA1 #9AA11F
analogous
#1F59A1 #261FA1 #671FA1
triadic
#261FA1 #A1261F #1FA126
tetradic
#261FA1 #A11F59 #9AA11F #1FA167
square
#261FA1 #A11F59 #9AA11F #1FA167
split-complementary
#261FA1 #A1671F #59A11F
monochromatic
#0E0B3A #1A156E #261FA1 #3229D4 #625BDF

Accessibility & contrast

On white

11.71
#261FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#261FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261FA1
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261FA1#FFFFFF#000000##FFFFFF
##261FA11.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #261fa1;
/* rgb */ color: rgb(38, 31, 161);
/* oklch */ color: oklch(36.1% 0.196 272.9);
Tailwind
colors: {
  custom: {
    50: '#765ebe',
    500: '#261fa1',
    950: '#000000',
  },
}
SCSS
$custom: #261fa1;
$custom-light: #765ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#261fa1",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 243.231,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36113,
    "c": 0.19581,
    "h": 272.9
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#261FA1
secondary
#BEC458
accent
#EB3DE1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #261FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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