#261F7D#261F7D

#261F7D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.151 H 277.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#261F7D
RGBrgb(38, 31, 125)
HSLhsl(244, 60%, 31%)
HSVhsv(244, 75%, 49%)
CMYKcmyk(69.6%, 75.2%, 0%, 51%)
CIE-LABlab(19.52, 34.09, -51.85)
CIE-LCHlch(19.52, 62.05, 303.33°)
OKLaboklab(32.09% 0.0183 -0.1498)
OKLCHoklch(32.09% 0.151 277)
XYZxyz(4.9898, 2.8723, 19.6895)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F7D #767D1F
analogous
#1F477D #261F7D #551F7D
triadic
#261F7D #7D261F #1F7D26
tetradic
#261F7D #7D1F47 #767D1F #1F7D55
square
#261F7D #7D1F47 #767D1F #1F7D55
split-complementary
#261F7D #7D551F #477D1F
monochromatic
#08071B #17134C #261F7D #352BAE #5045D1

Accessibility & contrast

On white

13.34
#261F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F7D
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F7D#FFFFFF#000000##FFFFFF
##261F7D1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261f7d;
/* rgb */ color: rgb(38, 31, 125);
/* oklch */ color: oklch(32.1% 0.151 277.0);
Tailwind
colors: {
  custom: {
    50: '#6e5ca4',
    500: '#261f7d',
    950: '#000000',
  },
}
SCSS
$custom: #261f7d;
$custom-light: #6e5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#261f7d",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 244.468,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3209,
    "c": 0.15089,
    "h": 277
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#261F7D
secondary
#A8B048
accent
#E344D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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