#262884#262884

#262884 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.150 H 274.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#262884
RGBrgb(38, 40, 132)
HSLhsl(239, 55%, 33%)
HSVhsv(239, 71%, 52%)
CMYKcmyk(71.2%, 69.7%, 0%, 48.2%)
CIE-LABlab(22.29, 30.94, -51.74)
CIE-LCHlch(22.29, 60.28, 300.88°)
OKLaboklab(34.28% 0.011 -0.1495)
OKLCHoklch(34.28% 0.15 274.2)
XYZxyz(5.7216, 3.5951, 22.2177)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262884 #848226
analogous
#265784 #262884 #532684
triadic
#262884 #842628 #288426
tetradic
#262884 #842657 #848226 #268453
square
#262884 #842657 #848226 #268453
split-complementary
#262884 #845326 #578426
monochromatic
#0B0B25 #181A54 #262884 #3436B4 #5659CE

Accessibility & contrast

On white

12.21
#262884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262884
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262884#FFFFFF#000000##FFFFFF
##2628841.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262884;
/* rgb */ color: rgb(38, 40, 132);
/* oklch */ color: oklch(34.3% 0.150 274.2);
Tailwind
colors: {
  custom: {
    50: '#6e62a9',
    500: '#262884',
    950: '#000000',
  },
}
SCSS
$custom: #262884;
$custom-light: #6e62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262884",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 238.723,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.14987,
    "h": 274.2
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#262884
secondary
#B3B153
accent
#DB49DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #262884

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

Preview Lab → · Contrast checker → · Palette generator →

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