#333282#333282

#333282 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.131 H 278.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#333282
RGBrgb(51, 50, 130)
HSLhsl(241, 44%, 35%)
HSVhsv(241, 62%, 51%)
CMYKcmyk(60.8%, 61.5%, 0%, 49%)
CIE-LABlab(25.55, 25.72, -45.11)
CIE-LCHlch(25.55, 51.92, 299.69°)
OKLaboklab(36.87% 0.0191 -0.1296)
OKLCHoklch(36.87% 0.131 278.4)
XYZxyz(6.5338, 4.5962, 21.6576)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333282 #818232
analogous
#325982 #333282 #5B3282
triadic
#333282 #823332 #328233
tetradic
#333282 #823259 #818232 #32825B
square
#333282 #823259 #818232 #32825B
split-complementary
#333282 #825B32 #598232
monochromatic
#10102A #222156 #333282 #4443AE #6A69C5

Accessibility & contrast

On white

10.94
#333282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#333282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333282
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333282#FFFFFF#000000##FFFFFF
##3332821.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333282;
/* rgb */ color: rgb(51, 50, 130);
/* oklch */ color: oklch(36.9% 0.131 278.4);
Tailwind
colors: {
  custom: {
    50: '#736aa7',
    500: '#333282',
    950: '#000000',
  },
}
SCSS
$custom: #333282;
$custom-light: #736aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#333282",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 240.75,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.13098,
    "h": 278.4
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#333282
secondary
#ACAD63
accent
#D454D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #333282

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

Preview Lab → · Contrast checker → · Palette generator →

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