#3334B9#3334B9

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

Color values

HEX#3334B9
RGBrgb(51, 52, 185)
HSLhsl(240, 57%, 46%)
HSVhsv(240, 72%, 73%)
CMYKcmyk(72.4%, 71.9%, 0%, 27.5%)
CIE-LABlab(31.02, 43.51, -69.62)
CIE-LCHlch(31.02, 82.10, 302.01°)
OKLaboklab(42.37% 0.0118 -0.2014)
OKLCHoklch(42.37% 0.202 273.3)
XYZxyz(11.3473, 6.6614, 46.5773)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334B9 #B9B833
analogous
#3377B9 #3334B9 #7533B9
triadic
#3334B9 #B93334 #34B933
tetradic
#3334B9 #B93377 #B9B833 #33B975
square
#3334B9 #B93377 #B9B833 #33B975
split-complementary
#3334B9 #B97533 #77B933
monochromatic
#191959 #262789 #3334B9 #5859D1 #8889DE

Accessibility & contrast

On white

9.00
#3334B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3334B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334B9
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334B9#FFFFFF#000000##FFFFFF
##3334B91.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3334b9;
/* rgb */ color: rgb(51, 52, 185);
/* oklch */ color: oklch(42.4% 0.202 273.3);
Tailwind
colors: {
  custom: {
    50: '#7f6dcf',
    500: '#3334b9',
    950: '#000000',
  },
}
SCSS
$custom: #3334b9;
$custom-light: #7f6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3334b9",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 239.552,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4237,
    "c": 0.20172,
    "h": 273.3
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3334B9

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

Preview Lab → · Contrast checker → · Palette generator →

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