#3334BA#3334BA

#3334BA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.5% C 0.203 H 273.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#3334BA
RGBrgb(51, 52, 186)
HSLhsl(240, 57%, 46%)
HSVhsv(240, 73%, 73%)
CMYKcmyk(72.6%, 72%, 0%, 27.1%)
CIE-LABlab(31.12, 43.85, -70.05)
CIE-LCHlch(31.12, 82.64, 302.04°)
OKLaboklab(42.47% 0.0116 -0.2026)
OKLCHoklch(42.47% 0.203 273.3)
XYZxyz(11.4532, 6.7038, 47.1352)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334BA #BAB933
analogous
#3378BA #3334BA #7633BA
triadic
#3334BA #BA3334 #34BA33
tetradic
#3334BA #BA3378 #BAB933 #33BA76
square
#3334BA #BA3378 #BAB933 #33BA76
split-complementary
#3334BA #BA7633 #78BA33
monochromatic
#19195A #26278A #3334BA #595AD1 #8989DF

Accessibility & contrast

On white

8.97
#3334BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3334BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334BA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334BA#FFFFFF#000000##FFFFFF
##3334BA1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3334ba;
/* rgb */ color: rgb(51, 52, 186);
/* oklch */ color: oklch(42.5% 0.203 273.3);
Tailwind
colors: {
  custom: {
    50: '#7f6dd0',
    500: '#3334ba',
    950: '#000000',
  },
}
SCSS
$custom: #3334ba;
$custom-light: #7f6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3334ba",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 239.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42471,
    "c": 0.20296,
    "h": 273.3
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#3334BA
secondary
#C9C880
accent
#DF48E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3334BA

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

Preview Lab → · Contrast checker → · Palette generator →

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