#262182#262182

#262182 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.155 H 275.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#262182
RGBrgb(38, 33, 130)
HSLhsl(243, 60%, 32%)
HSVhsv(243, 75%, 51%)
CMYKcmyk(70.8%, 74.6%, 0%, 49%)
CIE-LABlab(20.48, 34.62, -53.44)
CIE-LCHlch(20.48, 63.67, 302.93°)
OKLaboklab(32.93% 0.016 -0.1544)
OKLCHoklch(32.93% 0.155 275.9)
XYZxyz(5.3711, 3.1110, 21.4322)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262182 #7D8221
analogous
#214D82 #262182 #572182
triadic
#262182 #822621 #218226
tetradic
#262182 #82214D #7D8221 #218257
square
#262182 #82214D #7D8221 #218257
split-complementary
#262182 #825721 #4D8221
monochromatic
#090820 #181551 #262182 #342DB3 #534CD2

Accessibility & contrast

On white

12.95
#262182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#262182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262182
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262182#FFFFFF#000000##FFFFFF
##2621821.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262182;
/* rgb */ color: rgb(38, 33, 130);
/* oklch */ color: oklch(32.9% 0.155 275.9);
Tailwind
colors: {
  custom: {
    50: '#6f5da7',
    500: '#262182',
    950: '#000000',
  },
}
SCSS
$custom: #262182;
$custom-light: #6f5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#262182",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 243.093,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3293,
    "c": 0.15526,
    "h": 275.9
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#262182
secondary
#AFB44A
accent
#E345DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #262182

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

Preview Lab → · Contrast checker → · Palette generator →

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