#261F88#261F88

#261F88 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.165 H 275.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#261F88
RGBrgb(38, 31, 136)
HSLhsl(244, 63%, 33%)
HSVhsv(244, 77%, 53%)
CMYKcmyk(72.1%, 77.2%, 0%, 46.7%)
CIE-LABlab(20.71, 37.85, -56.84)
CIE-LCHlch(20.71, 68.29, 303.66°)
OKLaboklab(33.28% 0.0159 -0.1643)
OKLCHoklch(33.28% 0.165 275.5)
XYZxyz(5.7318, 3.1691, 23.5974)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F88 #81881F
analogous
#1F4C88 #261F88 #5A1F88
triadic
#261F88 #88261F #1F8826
tetradic
#261F88 #881F4C #81881F #1F885A
square
#261F88 #881F4C #81881F #1F885A
split-complementary
#261F88 #885A1F #4C881F
monochromatic
#0A0824 #181456 #261F88 #342ABA #554BD6

Accessibility & contrast

On white

12.85
#261F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#261F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F88
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F88#FFFFFF#000000##FFFFFF
##261F881.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261f88;
/* rgb */ color: rgb(38, 31, 136);
/* oklch */ color: oklch(33.3% 0.165 275.5);
Tailwind
colors: {
  custom: {
    50: '#705dac',
    500: '#261f88',
    950: '#000000',
  },
}
SCSS
$custom: #261f88;
$custom-light: #705dac;
$custom-dark: #000000;
JSON
{
  "hex": "#261f88",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 244,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33283,
    "c": 0.16511,
    "h": 275.5
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#261F88
secondary
#B1B94A
accent
#E642DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261F88

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

Preview Lab → · Contrast checker → · Palette generator →

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