#261F83#261F83

#261F83 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.159 H 276.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#261F83
RGBrgb(38, 31, 131)
HSLhsl(244, 62%, 32%)
HSVhsv(244, 76%, 51%)
CMYKcmyk(71%, 76.3%, 0%, 48.6%)
CIE-LABlab(20.16, 36.15, -54.60)
CIE-LCHlch(20.16, 65.48, 303.51°)
OKLaboklab(32.74% 0.017 -0.1578)
OKLCHoklch(32.74% 0.159 276.2)
XYZxyz(5.3847, 3.0302, 21.7695)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F83 #7C831F
analogous
#1F4A83 #261F83 #581F83
triadic
#261F83 #83261F #1F8326
tetradic
#261F83 #831F4A #7C831F #1F8358
square
#261F83 #831F4A #7C831F #1F8358
split-complementary
#261F83 #83581F #4A831F
monochromatic
#090820 #181352 #261F83 #342BB4 #5249D4

Accessibility & contrast

On white

13.07
#261F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F83
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F83#FFFFFF#000000##FFFFFF
##261F831.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261f83;
/* rgb */ color: rgb(38, 31, 131);
/* oklch */ color: oklch(32.7% 0.159 276.2);
Tailwind
colors: {
  custom: {
    50: '#6f5ca8',
    500: '#261f83',
    950: '#000000',
  },
}
SCSS
$custom: #261f83;
$custom-light: #6f5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#261f83",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 244.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32736,
    "c": 0.15871,
    "h": 276.2
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#261F83
secondary
#AEB648
accent
#E543D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261F83

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

Preview Lab → · Contrast checker → · Palette generator →

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