#261F95#261F95

#261F95 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.181 H 274.1°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#261F95
RGBrgb(38, 31, 149)
HSLhsl(244, 66%, 35%)
HSVhsv(244, 79%, 58%)
CMYKcmyk(74.5%, 79.2%, 0%, 41.6%)
CIE-LABlab(22.16, 42.17, -62.52)
CIE-LCHlch(22.16, 75.42, 304.00°)
OKLaboklab(34.74% 0.0129 -0.1809)
OKLCHoklch(34.74% 0.181 274.1)
XYZxyz(6.7123, 3.5613, 28.7616)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F95 #8E951F
analogous
#1F5395 #261F95 #611F95
triadic
#261F95 #95261F #1F9526
tetradic
#261F95 #951F53 #8E951F #1F9561
square
#261F95 #951F53 #8E951F #1F9561
split-complementary
#261F95 #95611F #53951F
monochromatic
#0C0A30 #191462 #261F95 #332AC8 #5B53DB

Accessibility & contrast

On white

12.26
#261F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#261F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F95
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F95#FFFFFF#000000##FFFFFF
##261F951.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #261f95;
/* rgb */ color: rgb(38, 31, 149);
/* oklch */ color: oklch(34.7% 0.181 274.1);
Tailwind
colors: {
  custom: {
    50: '#735db5',
    500: '#261f95',
    950: '#000000',
  },
}
SCSS
$custom: #261f95;
$custom-light: #735db5;
$custom-dark: #000000;
JSON
{
  "hex": "#261f95",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 243.559,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34737,
    "c": 0.18132,
    "h": 274.1
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#261F95
secondary
#B8BF51
accent
#E93FDE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261F95

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

Preview Lab → · Contrast checker → · Palette generator →

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