#3334C0#3334C0

#3334C0 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.1% C 0.210 H 272.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3334C0
RGBrgb(51, 52, 192)
HSLhsl(240, 58%, 48%)
HSVhsv(240, 73%, 75%)
CMYKcmyk(73.4%, 72.9%, 0%, 24.7%)
CIE-LABlab(31.73, 45.85, -72.59)
CIE-LCHlch(31.73, 85.86, 302.27°)
OKLaboklab(43.08% 0.0106 -0.21)
OKLCHoklch(43.08% 0.21 272.9)
XYZxyz(12.1045, 6.9643, 50.5653)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334C0 #C0BF33
analogous
#337BC0 #3334C0 #7833C0
triadic
#3334C0 #C03334 #34C033
tetradic
#3334C0 #C0337B #C0BF33 #33C078
square
#3334C0 #C0337B #C0BF33 #33C078
split-complementary
#3334C0 #C07833 #7BC033
monochromatic
#191A5F #262790 #3334C0 #5C5DD4 #8D8DE1

Accessibility & contrast

On white

8.77
#3334C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3334C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334C0
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334C0#FFFFFF#000000##FFFFFF
##3334C01.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0044BD
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3334c0;
/* rgb */ color: rgb(51, 52, 192);
/* oklch */ color: oklch(43.1% 0.210 272.9);
Tailwind
colors: {
  custom: {
    50: '#816dd4',
    500: '#3334c0',
    950: '#000000',
  },
}
SCSS
$custom: #3334c0;
$custom-light: #816dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3334c0",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 239.574,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43082,
    "c": 0.21031,
    "h": 272.9
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#3334C0
secondary
#CBCA84
accent
#E047E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3334C0

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

Preview Lab → · Contrast checker → · Palette generator →

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