#332FCA#332FCA

#332FCA is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.227 H 272.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#332FCA
RGBrgb(51, 47, 202)
HSLhsl(242, 62%, 49%)
HSVhsv(242, 77%, 79%)
CMYKcmyk(74.8%, 76.7%, 0%, 20.8%)
CIE-LABlab(31.81, 51.81, -78.32)
CIE-LCHlch(31.81, 93.91, 303.49°)
OKLaboklab(43.45% 0.011 -0.2266)
OKLCHoklch(43.45% 0.227 272.8)
XYZxyz(13.0389, 6.9997, 56.5296)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FCA #C6CA2F
analogous
#2F79CA #332FCA #812FCA
triadic
#332FCA #CA332F #2FCA33
tetradic
#332FCA #CA2F79 #C6CA2F #2FCA81
square
#332FCA #CA2F79 #C6CA2F #2FCA81
split-complementary
#332FCA #CA812F #79CA2F
monochromatic
#1A1867 #262398 #332FCA #605DD9 #918FE5

Accessibility & contrast

On white

8.75
#332FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#332FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332FCA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FCA#FFFFFF#000000##FFFFFF
##332FCA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #332fca;
/* rgb */ color: rgb(51, 47, 202);
/* oklch */ color: oklch(43.4% 0.227 272.8);
Tailwind
colors: {
  custom: {
    50: '#836adc',
    500: '#332fca',
    950: '#000000',
  },
}
SCSS
$custom: #332fca;
$custom-light: #836adc;
$custom-dark: #000000;
JSON
{
  "hex": "#332fca",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 241.548,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43448,
    "c": 0.22691,
    "h": 272.8
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#332FCA
secondary
#CDCF86
accent
#E542E1
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #332FCA

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

Preview Lab → · Contrast checker → · Palette generator →

#332FCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva