#261F93#261F93

#261F93 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.179 H 274.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#261F93
RGBrgb(38, 31, 147)
HSLhsl(244, 65%, 35%)
HSVhsv(244, 79%, 58%)
CMYKcmyk(74.1%, 78.9%, 0%, 42.4%)
CIE-LABlab(21.94, 41.51, -61.66)
CIE-LCHlch(21.94, 74.34, 303.95°)
OKLaboklab(34.51% 0.0134 -0.1784)
OKLCHoklch(34.51% 0.179 274.3)
XYZxyz(6.5540, 3.4980, 27.9279)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F93 #8C931F
analogous
#1F5293 #261F93 #601F93
triadic
#261F93 #93261F #1F9326
tetradic
#261F93 #931F52 #8C931F #1F9360
square
#261F93 #931F52 #8C931F #1F9360
split-complementary
#261F93 #93601F #52931F
monochromatic
#0C0A2E #191460 #261F93 #332AC6 #5A52DA

Accessibility & contrast

On white

12.35
#261F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#261F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F93
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F93#FFFFFF#000000##FFFFFF
##261F931.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#002F91
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #261f93;
/* rgb */ color: rgb(38, 31, 147);
/* oklch */ color: oklch(34.5% 0.179 274.3);
Tailwind
colors: {
  custom: {
    50: '#735db4',
    500: '#261f93',
    950: '#000000',
  },
}
SCSS
$custom: #261f93;
$custom-light: #735db4;
$custom-dark: #000000;
JSON
{
  "hex": "#261f93",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 243.621,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34511,
    "c": 0.17887,
    "h": 274.3
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#261F93
secondary
#B7BE50
accent
#E840DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261F93

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

Preview Lab → · Contrast checker → · Palette generator →

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