#262091#262091

#262091 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.175 H 274.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#262091
RGBrgb(38, 32, 145)
HSLhsl(243, 64%, 35%)
HSVhsv(243, 78%, 57%)
CMYKcmyk(73.8%, 77.9%, 0%, 43.1%)
CIE-LABlab(21.90, 40.30, -60.48)
CIE-LCHlch(21.90, 72.68, 303.68°)
OKLaboklab(34.42% 0.0134 -0.1749)
OKLCHoklch(34.42% 0.175 274.4)
XYZxyz(6.4250, 3.4888, 27.1174)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262091 #8B9120
analogous
#205291 #262091 #5F2091
triadic
#262091 #912620 #209126
tetradic
#262091 #912052 #8B9120 #20915F
square
#262091 #912052 #8B9120 #20915F
split-complementary
#262091 #915F20 #529120
monochromatic
#0C0A2D #19155F #262091 #332BC3 #5A52D9

Accessibility & contrast

On white

12.37
#262091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#262091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262091
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262091#FFFFFF#000000##FFFFFF
##2620911.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262091;
/* rgb */ color: rgb(38, 32, 145);
/* oklch */ color: oklch(34.4% 0.175 274.4);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#262091',
    950: '#000000',
  },
}
SCSS
$custom: #262091;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#262091",
  "rgb": {
    "r": 38,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 243.186,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34421,
    "c": 0.17545,
    "h": 274.4
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#262091
secondary
#B7BC51
accent
#E741DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #262091

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

Preview Lab → · Contrast checker → · Palette generator →

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