#262282#262282

#262282 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.154 H 275.7°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#262282
RGBrgb(38, 34, 130)
HSLhsl(243, 59%, 32%)
HSVhsv(243, 74%, 51%)
CMYKcmyk(70.8%, 73.8%, 0%, 49%)
CIE-LABlab(20.70, 34.01, -53.08)
CIE-LCHlch(20.70, 63.04, 302.65°)
OKLaboklab(33.09% 0.0154 -0.1534)
OKLCHoklch(33.09% 0.154 275.7)
XYZxyz(5.3993, 3.1673, 21.4416)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262282 #7E8222
analogous
#224E82 #262282 #562282
triadic
#262282 #822622 #228226
tetradic
#262282 #82224E #7E8222 #228256
square
#262282 #82224E #7E8222 #228256
split-complementary
#262282 #825622 #4E8222
monochromatic
#0A0921 #181551 #262282 #342FB3 #534ED1

Accessibility & contrast

On white

12.86
#262282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#262282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262282
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262282#FFFFFF#000000##FFFFFF
##2622821.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262282;
/* rgb */ color: rgb(38, 34, 130);
/* oklch */ color: oklch(33.1% 0.154 275.7);
Tailwind
colors: {
  custom: {
    50: '#6f5ea7',
    500: '#262282',
    950: '#000000',
  },
}
SCSS
$custom: #262282;
$custom-light: #6f5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#262282",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 242.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33086,
    "c": 0.15415,
    "h": 275.7
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#262282
secondary
#B0B44C
accent
#E246DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #262282

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

Preview Lab → · Contrast checker → · Palette generator →

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