#3334CC#3334CC

#3334CC is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.225 H 272.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3334CC
RGBrgb(51, 52, 204)
HSLhsl(240, 60%, 50%)
HSVhsv(240, 75%, 80%)
CMYKcmyk(75%, 74.5%, 0%, 20%)
CIE-LABlab(32.96, 49.78, -77.58)
CIE-LCHlch(32.96, 92.18, 302.68°)
OKLaboklab(44.32% 0.0086 -0.2245)
OKLCHoklch(44.32% 0.225 272.2)
XYZxyz(13.4886, 7.5180, 57.8553)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334CC #CCCB33
analogous
#3380CC #3334CC #7F33CC
triadic
#3334CC #CC3334 #34CC33
tetradic
#3334CC #CC3380 #CCCB33 #33CC7F
square
#3334CC #CC3380 #CCCB33 #33CC7F
split-complementary
#3334CC #CC7F33 #80CC33
monochromatic
#1B1B6A #27289B #3334CC #6465D8 #9595E4

Accessibility & contrast

On white

8.39
#3334CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3334CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334CC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334CC#FFFFFF#000000##FFFFFF
##3334CC1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D0
Deuteranopia (green-blind)
#0046C9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3334cc;
/* rgb */ color: rgb(51, 52, 204);
/* oklch */ color: oklch(44.3% 0.225 272.2);
Tailwind
colors: {
  custom: {
    50: '#836edd',
    500: '#3334cc',
    950: '#000000',
  },
}
SCSS
$custom: #3334cc;
$custom-light: #836edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3334cc",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 239.608,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.22471,
    "h": 272.2
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#3334CC
secondary
#D0CF8B
accent
#E245E3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3334CC

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

Preview Lab → · Contrast checker → · Palette generator →

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