#262593#262593

#262593 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.173 H 273.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#262593
RGBrgb(38, 37, 147)
HSLhsl(241, 60%, 36%)
HSVhsv(241, 75%, 58%)
CMYKcmyk(74.1%, 74.8%, 0%, 42.4%)
CIE-LABlab(23.14, 38.11, -59.68)
CIE-LCHlch(23.14, 70.81, 302.56°)
OKLaboklab(35.36% 0.0105 -0.1726)
OKLCHoklch(35.36% 0.173 273.5)
XYZxyz(6.7256, 3.8411, 27.9851)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262593 #929325
analogous
#255B93 #262593 #5D2593
triadic
#262593 #932625 #259326
tetradic
#262593 #93255B #929325 #25935D
square
#262593 #93255B #929325 #25935D
split-complementary
#262593 #935D25 #5B9325
monochromatic
#0D0C31 #191962 #262593 #3331C4 #5D5CD6

Accessibility & contrast

On white

11.88
#262593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262593
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262593#FFFFFF#000000##FFFFFF
##2625931.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262593;
/* rgb */ color: rgb(38, 37, 147);
/* oklch */ color: oklch(35.4% 0.173 273.5);
Tailwind
colors: {
  custom: {
    50: '#7261b4',
    500: '#262593',
    950: '#000000',
  },
}
SCSS
$custom: #262593;
$custom-light: #7261b4;
$custom-dark: #000000;
JSON
{
  "hex": "#262593",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 240.545,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3536,
    "c": 0.17297,
    "h": 273.5
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#262593
secondary
#BABB59
accent
#E345E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #262593

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

Preview Lab → · Contrast checker → · Palette generator →

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