#261F80#261F80

#261F80 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.155 H 276.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#261F80
RGBrgb(38, 31, 128)
HSLhsl(244, 61%, 31%)
HSVhsv(244, 76%, 50%)
CMYKcmyk(70.3%, 75.8%, 0%, 49.8%)
CIE-LABlab(19.84, 35.13, -53.23)
CIE-LCHlch(19.84, 63.77, 303.42°)
OKLaboklab(32.41% 0.0177 -0.1538)
OKLCHoklch(32.41% 0.155 276.6)
XYZxyz(5.1843, 2.9501, 20.7141)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F80 #79801F
analogous
#1F4880 #261F80 #561F80
triadic
#261F80 #80261F #1F8026
tetradic
#261F80 #801F48 #79801F #1F8056
square
#261F80 #801F48 #79801F #1F8056
split-complementary
#261F80 #80561F #48801F
monochromatic
#09071D #17134F #261F80 #352BB1 #5147D2

Accessibility & contrast

On white

13.21
#261F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#261F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F80
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F80#FFFFFF#000000##FFFFFF
##261F801.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261f80;
/* rgb */ color: rgb(38, 31, 128);
/* oklch */ color: oklch(32.4% 0.155 276.6);
Tailwind
colors: {
  custom: {
    50: '#6e5ca6',
    500: '#261f80',
    950: '#000000',
  },
}
SCSS
$custom: #261f80;
$custom-light: #6e5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#261f80",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 244.33,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.15482,
    "h": 276.6
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#261F80
secondary
#ABB348
accent
#E444D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261F80

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

Preview Lab → · Contrast checker → · Palette generator →

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