#261F81#261F81

#261F81 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.156 H 276.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#261F81
RGBrgb(38, 31, 129)
HSLhsl(244, 61%, 31%)
HSVhsv(244, 76%, 51%)
CMYKcmyk(70.5%, 76%, 0%, 49.4%)
CIE-LABlab(19.95, 35.47, -53.69)
CIE-LCHlch(19.95, 64.35, 303.45°)
OKLaboklab(32.52% 0.0175 -0.1551)
OKLCHoklch(32.52% 0.156 276.4)
XYZxyz(5.2505, 2.9765, 21.0625)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F81 #7A811F
analogous
#1F4981 #261F81 #571F81
triadic
#261F81 #81261F #1F8126
tetradic
#261F81 #811F49 #7A811F #1F8157
square
#261F81 #811F49 #7A811F #1F8157
split-complementary
#261F81 #81571F #49811F
monochromatic
#09071E #171350 #261F81 #352BB2 #5147D3

Accessibility & contrast

On white

13.16
#261F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F81
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F81#FFFFFF#000000##FFFFFF
##261F811.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #261f81;
/* rgb */ color: rgb(38, 31, 129);
/* oklch */ color: oklch(32.5% 0.156 276.4);
Tailwind
colors: {
  custom: {
    50: '#6f5ca7',
    500: '#261f81',
    950: '#000000',
  },
}
SCSS
$custom: #261f81;
$custom-light: #6f5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#261f81",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 244.286,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.15612,
    "h": 276.4
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#261F81
secondary
#ACB448
accent
#E443D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #261F81

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

Preview Lab → · Contrast checker → · Palette generator →

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