#261F82#261F82

#261F82 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.157 H 276.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#261F82
RGBrgb(38, 31, 130)
HSLhsl(244, 61%, 32%)
HSVhsv(244, 76%, 51%)
CMYKcmyk(70.8%, 76.2%, 0%, 49%)
CIE-LABlab(20.06, 35.81, -54.14)
CIE-LCHlch(20.06, 64.91, 303.48°)
OKLaboklab(32.63% 0.0173 -0.1565)
OKLCHoklch(32.63% 0.157 276.3)
XYZxyz(5.3173, 3.0033, 21.4142)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F82 #7B821F
analogous
#1F4A82 #261F82 #581F82
triadic
#261F82 #82261F #1F8226
tetradic
#261F82 #821F4A #7B821F #1F8258
square
#261F82 #821F4A #7B821F #1F8258
split-complementary
#261F82 #82581F #4A821F
monochromatic
#09071F #181351 #261F82 #342BB3 #5248D3

Accessibility & contrast

On white

13.12
#261F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#261F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F82
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F82#FFFFFF#000000##FFFFFF
##261F821.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261f82;
/* rgb */ color: rgb(38, 31, 130);
/* oklch */ color: oklch(32.6% 0.157 276.3);
Tailwind
colors: {
  custom: {
    50: '#6f5ca7',
    500: '#261f82',
    950: '#000000',
  },
}
SCSS
$custom: #261f82;
$custom-light: #6f5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#261f82",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 244.242,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.15742,
    "h": 276.3
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261F82

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

Preview Lab → · Contrast checker → · Palette generator →

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