#3334BC#3334BC

#3334BC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.205 H 273.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3334BC
RGBrgb(51, 52, 188)
HSLhsl(240, 57%, 47%)
HSVhsv(240, 73%, 74%)
CMYKcmyk(72.9%, 72.3%, 0%, 26.3%)
CIE-LABlab(31.32, 44.52, -70.90)
CIE-LCHlch(31.32, 83.72, 302.12°)
OKLaboklab(42.67% 0.0113 -0.2051)
OKLCHoklch(42.67% 0.205 273.1)
XYZxyz(11.6673, 6.7895, 48.2628)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334BC #BCBB33
analogous
#3379BC #3334BC #7733BC
triadic
#3334BC #BC3334 #34BC33
tetradic
#3334BC #BC3379 #BCBB33 #33BC77
square
#3334BC #BC3379 #BCBB33 #33BC77
split-complementary
#3334BC #BC7733 #79BC33
monochromatic
#19195C #26278C #3334BC #5A5BD2 #8A8BDF

Accessibility & contrast

On white

8.91
#3334BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3334BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334BC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334BC#FFFFFF#000000##FFFFFF
##3334BC1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3334bc;
/* rgb */ color: rgb(51, 52, 188);
/* oklch */ color: oklch(42.7% 0.205 273.1);
Tailwind
colors: {
  custom: {
    50: '#806dd1',
    500: '#3334bc',
    950: '#000000',
  },
}
SCSS
$custom: #3334bc;
$custom-light: #806dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3334bc",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 239.562,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.20542,
    "h": 273.1
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#3334BC
secondary
#C9C981
accent
#DF47E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3334BC

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

Preview Lab → · Contrast checker → · Palette generator →

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