#3334B7#3334B7

#3334B7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.199 H 273.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3334B7
RGBrgb(51, 52, 183)
HSLhsl(240, 56%, 46%)
HSVhsv(240, 72%, 72%)
CMYKcmyk(72.1%, 71.6%, 0%, 28.2%)
CIE-LABlab(30.83, 42.84, -68.76)
CIE-LCHlch(30.83, 81.02, 301.92°)
OKLaboklab(42.17% 0.0121 -0.1989)
OKLCHoklch(42.17% 0.199 273.5)
XYZxyz(11.1376, 6.5776, 45.4732)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334B7 #B7B633
analogous
#3376B7 #3334B7 #7433B7
triadic
#3334B7 #B73334 #34B733
tetradic
#3334B7 #B73376 #B7B633 #33B774
square
#3334B7 #B73376 #B7B633 #33B774
split-complementary
#3334B7 #B77433 #76B733
monochromatic
#181957 #262687 #3334B7 #5758D0 #8788DE

Accessibility & contrast

On white

9.07
#3334B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3334B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334B7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334B7#FFFFFF#000000##FFFFFF
##3334B71.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3334b7;
/* rgb */ color: rgb(51, 52, 183);
/* oklch */ color: oklch(42.2% 0.199 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e6dce',
    500: '#3334b7',
    950: '#000000',
  },
}
SCSS
$custom: #3334b7;
$custom-light: #7e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3334b7",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 239.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.19925,
    "h": 273.5
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3334B7

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

Preview Lab → · Contrast checker → · Palette generator →

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