#3339A5#3339A5

#3339A5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.170 H 273.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3339A5
RGBrgb(51, 57, 165)
HSLhsl(237, 53%, 42%)
HSVhsv(237, 69%, 65%)
CMYKcmyk(69.1%, 65.5%, 0%, 35.3%)
CIE-LABlab(30.27, 33.56, -58.92)
CIE-LCHlch(30.27, 67.80, 299.67°)
OKLaboklab(41.25% 0.011 -0.1701)
OKLCHoklch(41.25% 0.17 273.7)
XYZxyz(9.6176, 6.3458, 36.3080)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339A5 #A59F33
analogous
#3372A5 #3339A5 #6633A5
triadic
#3339A5 #A53339 #39A533
tetradic
#3339A5 #A53372 #A59F33 #33A566
square
#3339A5 #A53372 #A59F33 #33A566
split-complementary
#3339A5 #A56633 #72A533
monochromatic
#161948 #252976 #3339A5 #4D54C8 #7C81D6

Accessibility & contrast

On white

9.25
#3339A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3339A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339A5
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339A5#FFFFFF#000000##FFFFFF
##3339A51.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3339a5;
/* rgb */ color: rgb(51, 57, 165);
/* oklch */ color: oklch(41.3% 0.170 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a6fc1',
    500: '#3339a5',
    950: '#000000',
  },
}
SCSS
$custom: #3339a5;
$custom-light: #7a6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3339a5",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 236.842,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.17043,
    "h": 273.7
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#3339A5
secondary
#BFBB75
accent
#D54CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3339A5

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

Preview Lab → · Contrast checker → · Palette generator →

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