#261F89#261F89

#261F89 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.166 H 275.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#261F89
RGBrgb(38, 31, 137)
HSLhsl(244, 63%, 33%)
HSVhsv(244, 77%, 54%)
CMYKcmyk(72.3%, 77.4%, 0%, 46.3%)
CIE-LABlab(20.82, 38.18, -57.29)
CIE-LCHlch(20.82, 68.85, 303.69°)
OKLaboklab(33.39% 0.0157 -0.1656)
OKLCHoklch(33.39% 0.166 275.4)
XYZxyz(5.8032, 3.1976, 23.9734)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F89 #82891F
analogous
#1F4D89 #261F89 #5B1F89
triadic
#261F89 #89261F #1F8926
tetradic
#261F89 #891F4D #82891F #1F895B
square
#261F89 #891F4D #82891F #1F895B
split-complementary
#261F89 #895B1F #4D891F
monochromatic
#0A0825 #181457 #261F89 #342ABB #554CD6

Accessibility & contrast

On white

12.81
#261F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#261F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F89
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F89#FFFFFF#000000##FFFFFF
##261F891.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261f89;
/* rgb */ color: rgb(38, 31, 137);
/* oklch */ color: oklch(33.4% 0.166 275.4);
Tailwind
colors: {
  custom: {
    50: '#715dad',
    500: '#261f89',
    950: '#000000',
  },
}
SCSS
$custom: #261f89;
$custom-light: #715dad;
$custom-dark: #000000;
JSON
{
  "hex": "#261f89",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 243.962,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33393,
    "c": 0.16638,
    "h": 275.4
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261F89

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

Preview Lab → · Contrast checker → · Palette generator →

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