#332FC0#332FC0

#332FC0 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.4% C 0.215 H 273.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#332FC0
RGBrgb(51, 47, 192)
HSLhsl(242, 61%, 47%)
HSVhsv(242, 76%, 75%)
CMYKcmyk(73.4%, 75.5%, 0%, 24.7%)
CIE-LABlab(30.74, 48.62, -74.22)
CIE-LCHlch(30.74, 88.73, 303.23°)
OKLaboklab(42.38% 0.013 -0.2147)
OKLCHoklch(42.38% 0.215 273.5)
XYZxyz(11.8930, 6.5414, 50.4948)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332FC0 #BCC02F
analogous
#2F74C0 #332FC0 #7C2FC0
triadic
#332FC0 #C0332F #2FC033
tetradic
#332FC0 #C02F74 #BCC02F #2FC07C
square
#332FC0 #C02F74 #BCC02F #2FC07C
split-complementary
#332FC0 #C07C2F #74C02F
monochromatic
#19175E #26238F #332FC0 #5A56D6 #8A88E2

Accessibility & contrast

On white

9.10
#332FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#332FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332FC0
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332FC0#FFFFFF#000000##FFFFFF
##332FC01.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC4
Deuteranopia (green-blind)
#0041BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #332fc0;
/* rgb */ color: rgb(51, 47, 192);
/* oklch */ color: oklch(42.4% 0.215 273.5);
Tailwind
colors: {
  custom: {
    50: '#816ad4',
    500: '#332fc0',
    950: '#000000',
  },
}
SCSS
$custom: #332fc0;
$custom-light: #816ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#332fc0",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 241.655,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.21514,
    "h": 273.5
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#332FC0
secondary
#C9CB7F
accent
#E444DF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #332FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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