#262191#262191

#262191 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.174 H 274.2°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#262191
RGBrgb(38, 33, 145)
HSLhsl(243, 63%, 35%)
HSVhsv(243, 77%, 57%)
CMYKcmyk(73.8%, 77.2%, 0%, 43.1%)
CIE-LABlab(22.10, 39.74, -60.16)
CIE-LCHlch(22.10, 72.10, 303.45°)
OKLaboklab(34.56% 0.0129 -0.174)
OKLCHoklch(34.56% 0.174 274.2)
XYZxyz(6.4523, 3.5435, 27.1265)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262191 #8C9121
analogous
#215491 #262191 #5E2191
triadic
#262191 #912621 #219126
tetradic
#262191 #912154 #8C9121 #21915E
square
#262191 #912154 #8C9121 #21915E
split-complementary
#262191 #915E21 #549121
monochromatic
#0C0A2D #19165F #262191 #332CC3 #5A54D8

Accessibility & contrast

On white

12.29
#262191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#262191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262191
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262191#FFFFFF#000000##FFFFFF
##2621911.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00308F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262191;
/* rgb */ color: rgb(38, 33, 145);
/* oklch */ color: oklch(34.6% 0.174 274.2);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#262191',
    950: '#000000',
  },
}
SCSS
$custom: #262191;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#262191",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 242.679,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3456,
    "c": 0.17448,
    "h": 274.2
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#262191
secondary
#B7BC52
accent
#E642DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #262191

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

Preview Lab → · Contrast checker → · Palette generator →

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