#3339B8#3339B8

#3339B8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.195 H 272.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3339B8
RGBrgb(51, 57, 184)
HSLhsl(237, 57%, 46%)
HSVhsv(237, 72%, 72%)
CMYKcmyk(72.3%, 69%, 0%, 27.8%)
CIE-LABlab(32.01, 40.20, -67.41)
CIE-LCHlch(32.01, 78.48, 300.81°)
OKLaboklab(43.05% 0.0091 -0.1949)
OKLCHoklch(43.05% 0.195 272.7)
XYZxyz(11.4772, 7.0896, 46.1017)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339B8 #B8B233
analogous
#337BB8 #3339B8 #6F33B8
triadic
#3339B8 #B83339 #39B833
tetradic
#3339B8 #B8337B #B8B233 #33B86F
square
#3339B8 #B8337B #B8B233 #33B86F
split-complementary
#3339B8 #B86F33 #7BB833
monochromatic
#181B58 #262A88 #3339B8 #585DD1 #888BDE

Accessibility & contrast

On white

8.68
#3339B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3339B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339B8
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339B8#FFFFFF#000000##FFFFFF
##3339B81.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3339b8;
/* rgb */ color: rgb(51, 57, 184);
/* oklch */ color: oklch(43.0% 0.195 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e70ce',
    500: '#3339b8',
    950: '#000000',
  },
}
SCSS
$custom: #3339b8;
$custom-light: #7e70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3339b8",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 237.293,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.19513,
    "h": 272.7
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#3339B8
secondary
#C8C47F
accent
#D948E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3339B8

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

Preview Lab → · Contrast checker → · Palette generator →

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