#3334BF#3334BF

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

Color values

HEX#3334BF
RGBrgb(51, 52, 191)
HSLhsl(240, 58%, 47%)
HSVhsv(240, 73%, 75%)
CMYKcmyk(73.3%, 72.8%, 0%, 25.1%)
CIE-LABlab(31.62, 45.51, -72.17)
CIE-LCHlch(31.62, 85.32, 302.24°)
OKLaboklab(42.98% 0.0108 -0.2088)
OKLCHoklch(42.98% 0.209 273)
XYZxyz(11.9941, 6.9202, 49.9837)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334BF #BFBE33
analogous
#337ABF #3334BF #7833BF
triadic
#3334BF #BF3334 #34BF33
tetradic
#3334BF #BF337A #BFBE33 #33BF78
square
#3334BF #BF337A #BFBE33 #33BF78
split-complementary
#3334BF #BF7833 #7ABF33
monochromatic
#191A5E #26278F #3334BF #5C5DD3 #8C8DE0

Accessibility & contrast

On white

8.81
#3334BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3334BF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334BF#FFFFFF#000000##FFFFFF
##3334BF1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0044BC
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3334bf;
/* rgb */ color: rgb(51, 52, 191);
/* oklch */ color: oklch(43.0% 0.209 273.0);
Tailwind
colors: {
  custom: {
    50: '#806dd4',
    500: '#3334bf',
    950: '#000000',
  },
}
SCSS
$custom: #3334bf;
$custom-light: #806dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3334bf",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 239.571,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.2091,
    "h": 273
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3334BF

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

Preview Lab → · Contrast checker → · Palette generator →

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