#3334C6#3334C6

#3334C6 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.218 H 272.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3334C6
RGBrgb(51, 52, 198)
HSLhsl(240, 59%, 49%)
HSVhsv(240, 74%, 78%)
CMYKcmyk(74.2%, 73.7%, 0%, 22.4%)
CIE-LABlab(32.34, 47.82, -75.10)
CIE-LCHlch(32.34, 89.04, 302.49°)
OKLaboklab(43.7% 0.0096 -0.2173)
OKLCHoklch(43.7% 0.218 272.5)
XYZxyz(12.7828, 7.2357, 54.1381)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334C6 #C6C533
analogous
#337EC6 #3334C6 #7C33C6
triadic
#3334C6 #C63334 #34C633
tetradic
#3334C6 #C6337E #C6C533 #33C67C
square
#3334C6 #C6337E #C6C533 #33C67C
split-complementary
#3334C6 #C67C33 #7EC633
monochromatic
#1A1A65 #262795 #3334C6 #6061D6 #9191E3

Accessibility & contrast

On white

8.58
#3334C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3334C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334C6
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334C6#FFFFFF#000000##FFFFFF
##3334C61.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0045C3
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3334c6;
/* rgb */ color: rgb(51, 52, 198);
/* oklch */ color: oklch(43.7% 0.218 272.5);
Tailwind
colors: {
  custom: {
    50: '#826dd9',
    500: '#3334c6',
    950: '#000000',
  },
}
SCSS
$custom: #3334c6;
$custom-light: #826dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3334c6",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 239.592,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.21756,
    "h": 272.5
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#3334C6
secondary
#CDCD87
accent
#E146E2
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3334C6

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

Preview Lab → · Contrast checker → · Palette generator →

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