#3334C2#3334C2

#3334C2 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.3% C 0.213 H 272.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3334C2
RGBrgb(51, 52, 194)
HSLhsl(240, 58%, 48%)
HSVhsv(240, 74%, 76%)
CMYKcmyk(73.7%, 73.2%, 0%, 23.9%)
CIE-LABlab(31.93, 46.51, -73.43)
CIE-LCHlch(31.93, 86.92, 302.35°)
OKLaboklab(43.29% 0.0103 -0.2125)
OKLCHoklch(43.29% 0.213 272.8)
XYZxyz(12.3276, 7.0536, 51.7403)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334C2 #C2C133
analogous
#337CC2 #3334C2 #7933C2
triadic
#3334C2 #C23334 #34C233
tetradic
#3334C2 #C2337C #C2C133 #33C279
square
#3334C2 #C2337C #C2C133 #33C279
split-complementary
#3334C2 #C27933 #7CC233
monochromatic
#1A1A61 #262792 #3334C2 #5E5ED5 #8E8FE1

Accessibility & contrast

On white

8.71
#3334C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3334C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334C2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334C2#FFFFFF#000000##FFFFFF
##3334C21.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0044BF
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3334c2;
/* rgb */ color: rgb(51, 52, 194);
/* oklch */ color: oklch(43.3% 0.213 272.8);
Tailwind
colors: {
  custom: {
    50: '#816dd6',
    500: '#3334c2',
    950: '#000000',
  },
}
SCSS
$custom: #3334c2;
$custom-light: #816dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3334c2",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 239.58,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43287,
    "c": 0.21274,
    "h": 272.8
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#3334C2
secondary
#CCCB85
accent
#E046E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3334C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3334C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva