#3339B5#3339B5

#3339B5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.191 H 272.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3339B5
RGBrgb(51, 57, 181)
HSLhsl(237, 56%, 45%)
HSVhsv(237, 72%, 71%)
CMYKcmyk(71.8%, 68.5%, 0%, 29%)
CIE-LABlab(31.73, 39.16, -66.09)
CIE-LCHlch(31.73, 76.82, 300.65°)
OKLaboklab(42.76% 0.0094 -0.1911)
OKLCHoklch(42.76% 0.191 272.8)
XYZxyz(11.1661, 6.9651, 44.4630)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339B5 #B5AF33
analogous
#337AB5 #3339B5 #6E33B5
triadic
#3339B5 #B53339 #39B533
tetradic
#3339B5 #B5337A #B5AF33 #33B56E
square
#3339B5 #B5337A #B5AF33 #33B56E
split-complementary
#3339B5 #B56E33 #7AB533
monochromatic
#181B56 #262A85 #3339B5 #565BCF #868ADD

Accessibility & contrast

On white

8.77
#3339B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3339B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339B5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339B5#FFFFFF#000000##FFFFFF
##3339B51.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3339b5;
/* rgb */ color: rgb(51, 57, 181);
/* oklch */ color: oklch(42.8% 0.191 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e70cc',
    500: '#3339b5',
    950: '#000000',
  },
}
SCSS
$custom: #3339b5;
$custom-light: #7e70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3339b5",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 237.231,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.19131,
    "h": 272.8
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#3339B5
secondary
#C6C37D
accent
#D848DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3339B5

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

Preview Lab → · Contrast checker → · Palette generator →

#3339B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva