#262391#262391

#262391 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.172 H 274.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#262391
RGBrgb(38, 35, 145)
HSLhsl(242, 61%, 35%)
HSVhsv(242, 76%, 57%)
CMYKcmyk(73.8%, 75.9%, 0%, 43.1%)
CIE-LABlab(22.51, 38.59, -59.49)
CIE-LCHlch(22.51, 70.91, 302.98°)
OKLaboklab(34.85% 0.0119 -0.1721)
OKLCHoklch(34.85% 0.172 274)
XYZxyz(6.5095, 3.6578, 27.1455)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262391 #8E9123
analogous
#235791 #262391 #5D2391
triadic
#262391 #912623 #239126
tetradic
#262391 #912357 #8E9123 #23915D
square
#262391 #912357 #8E9123 #23915D
split-complementary
#262391 #915D23 #579123
monochromatic
#0C0B2E #191760 #262391 #332FC2 #5B58D7

Accessibility & contrast

On white

12.13
#262391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262391
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262391#FFFFFF#000000##FFFFFF
##2623911.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262391;
/* rgb */ color: rgb(38, 35, 145);
/* oklch */ color: oklch(34.8% 0.172 274.0);
Tailwind
colors: {
  custom: {
    50: '#725fb2',
    500: '#262391',
    950: '#000000',
  },
}
SCSS
$custom: #262391;
$custom-light: #725fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#262391",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 241.636,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34846,
    "c": 0.17248,
    "h": 274
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#262391
secondary
#B8BB55
accent
#E444E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262391

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

Preview Lab → · Contrast checker → · Palette generator →

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