#3334BE#3334BE

#3334BE is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.9% C 0.208 H 273.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3334BE
RGBrgb(51, 52, 190)
HSLhsl(240, 58%, 47%)
HSVhsv(240, 73%, 75%)
CMYKcmyk(73.2%, 72.6%, 0%, 25.5%)
CIE-LABlab(31.52, 45.18, -71.75)
CIE-LCHlch(31.52, 84.79, 302.20°)
OKLaboklab(42.88% 0.011 -0.2076)
OKLCHoklch(42.88% 0.208 273)
XYZxyz(11.8844, 6.8763, 49.4061)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334BE #BEBD33
analogous
#337ABE #3334BE #7733BE
triadic
#3334BE #BE3334 #34BE33
tetradic
#3334BE #BE337A #BEBD33 #33BE77
square
#3334BE #BE337A #BEBD33 #33BE77
split-complementary
#3334BE #BE7733 #7ABE33
monochromatic
#191A5E #26278E #3334BE #5B5CD3 #8B8CE0

Accessibility & contrast

On white

8.84
#3334BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3334BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334BE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334BE#FFFFFF#000000##FFFFFF
##3334BE1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0043BC
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3334be;
/* rgb */ color: rgb(51, 52, 190);
/* oklch */ color: oklch(42.9% 0.208 273.0);
Tailwind
colors: {
  custom: {
    50: '#806dd3',
    500: '#3334be',
    950: '#000000',
  },
}
SCSS
$custom: #3334be;
$custom-light: #806dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3334be",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 239.568,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.20787,
    "h": 273
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3334BE

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

Preview Lab → · Contrast checker → · Palette generator →

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