#261F7F#261F7F

#261F7F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.154 H 276.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#261F7F
RGBrgb(38, 31, 127)
HSLhsl(244, 61%, 31%)
HSVhsv(244, 76%, 50%)
CMYKcmyk(70.1%, 75.6%, 0%, 50.2%)
CIE-LABlab(19.74, 34.78, -52.77)
CIE-LCHlch(19.74, 63.20, 303.39°)
OKLaboklab(32.3% 0.0179 -0.1525)
OKLCHoklch(32.3% 0.154 276.7)
XYZxyz(5.1188, 2.9239, 20.3692)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F7F #787F1F
analogous
#1F487F #261F7F #561F7F
triadic
#261F7F #7F261F #1F7F26
tetradic
#261F7F #7F1F48 #787F1F #1F7F56
square
#261F7F #7F1F48 #787F1F #1F7F56
split-complementary
#261F7F #7F561F #487F1F
monochromatic
#09071D #17134E #261F7F #352BB0 #5146D2

Accessibility & contrast

On white

13.25
#261F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#261F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F7F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F7F#FFFFFF#000000##FFFFFF
##261F7F1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261f7f;
/* rgb */ color: rgb(38, 31, 127);
/* oklch */ color: oklch(32.3% 0.154 276.7);
Tailwind
colors: {
  custom: {
    50: '#6e5ca5',
    500: '#261f7f',
    950: '#000000',
  },
}
SCSS
$custom: #261f7f;
$custom-light: #6e5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#261f7f",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 244.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32304,
    "c": 0.15351,
    "h": 276.7
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#261F7F
secondary
#AAB248
accent
#E444D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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