#261F7A#261F7A

#261F7A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.147 H 277.4°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#261F7A
RGBrgb(38, 31, 122)
HSLhsl(245, 59%, 30%)
HSVhsv(245, 75%, 48%)
CMYKcmyk(68.9%, 74.6%, 0%, 52.2%)
CIE-LABlab(19.21, 33.06, -50.45)
CIE-LCHlch(19.21, 60.32, 303.23°)
OKLaboklab(31.77% 0.0189 -0.1457)
OKLCHoklch(31.77% 0.147 277.4)
XYZxyz(4.8010, 2.7968, 18.6954)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F7A #737A1F
analogous
#1F467A #261F7A #531F7A
triadic
#261F7A #7A261F #1F7A26
tetradic
#261F7A #7A1F46 #737A1F #1F7A53
square
#261F7A #7A1F46 #737A1F #1F7A53
split-complementary
#261F7A #7A531F #467A1F
monochromatic
#080618 #171349 #261F7A #352BAB #4F44CF

Accessibility & contrast

On white

13.47
#261F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F7A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F7A#FFFFFF#000000##FFFFFF
##261F7A1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261f7a;
/* rgb */ color: rgb(38, 31, 122);
/* oklch */ color: oklch(31.8% 0.147 277.4);
Tailwind
colors: {
  custom: {
    50: '#6d5ca1',
    500: '#261f7a',
    950: '#000000',
  },
}
SCSS
$custom: #261f7a;
$custom-light: #6d5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#261f7a",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 244.615,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.31772,
    "c": 0.14693,
    "h": 277.4
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#261F7A
secondary
#A6AD47
accent
#E345D7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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