#262591#262591

#262591 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.170 H 273.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#262591
RGBrgb(38, 37, 145)
HSLhsl(241, 59%, 36%)
HSVhsv(241, 74%, 57%)
CMYKcmyk(73.8%, 74.5%, 0%, 43.1%)
CIE-LABlab(22.93, 37.41, -58.79)
CIE-LCHlch(22.93, 69.69, 302.47°)
OKLaboklab(35.14% 0.0109 -0.1701)
OKLCHoklch(35.14% 0.17 273.7)
XYZxyz(6.5700, 3.7789, 27.1657)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262591 #909125
analogous
#255A91 #262591 #5C2591
triadic
#262591 #912625 #259126
tetradic
#262591 #91255A #909125 #25915C
square
#262591 #91255A #909125 #25915C
split-complementary
#262591 #915C25 #5A9125
monochromatic
#0C0C2F #191960 #262591 #3331C2 #5C5BD5

Accessibility & contrast

On white

11.96
#262591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#262591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262591
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262591#FFFFFF#000000##FFFFFF
##2625911.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262591;
/* rgb */ color: rgb(38, 37, 145);
/* oklch */ color: oklch(35.1% 0.170 273.7);
Tailwind
colors: {
  custom: {
    50: '#7261b2',
    500: '#262591',
    950: '#000000',
  },
}
SCSS
$custom: #262591;
$custom-light: #7261b2;
$custom-dark: #000000;
JSON
{
  "hex": "#262591",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 240.556,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35145,
    "c": 0.17041,
    "h": 273.7
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#262591
secondary
#B9BA58
accent
#E345E1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262591

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

Preview Lab → · Contrast checker → · Palette generator →

#262591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva