#3334CA#3334CA

#3334CA is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.1% C 0.222 H 272.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3334CA
RGBrgb(51, 52, 202)
HSLhsl(240, 60%, 50%)
HSVhsv(240, 75%, 79%)
CMYKcmyk(74.8%, 74.3%, 0%, 20.8%)
CIE-LABlab(32.75, 49.13, -76.76)
CIE-LCHlch(32.75, 91.13, 302.62°)
OKLaboklab(44.12% 0.0089 -0.2222)
OKLCHoklch(44.12% 0.222 272.3)
XYZxyz(13.2503, 7.4227, 56.6001)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334CA #CAC933
analogous
#337FCA #3334CA #7E33CA
triadic
#3334CA #CA3334 #34CA33
tetradic
#3334CA #CA337F #CAC933 #33CA7E
square
#3334CA #CA337F #CAC933 #33CA7E
split-complementary
#3334CA #CA7E33 #7FCA33
monochromatic
#1A1B68 #272799 #3334CA #6363D8 #9494E4

Accessibility & contrast

On white

8.45
#3334CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3334CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334CA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334CA#FFFFFF#000000##FFFFFF
##3334CA1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3334ca;
/* rgb */ color: rgb(51, 52, 202);
/* oklch */ color: oklch(44.1% 0.222 272.3);
Tailwind
colors: {
  custom: {
    50: '#836ddc',
    500: '#3334ca',
    950: '#000000',
  },
}
SCSS
$custom: #3334ca;
$custom-light: #836ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#3334ca",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 239.603,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.22234,
    "h": 272.3
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#3334CA
secondary
#CFCE8A
accent
#E245E3
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3334CA

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

Preview Lab → · Contrast checker → · Palette generator →

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