#3339AA#3339AA

#3339AA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.177 H 273.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3339AA
RGBrgb(51, 57, 170)
HSLhsl(237, 54%, 43%)
HSVhsv(237, 70%, 67%)
CMYKcmyk(70%, 66.5%, 0%, 33.3%)
CIE-LABlab(30.72, 35.32, -61.19)
CIE-LCHlch(30.72, 70.65, 300.00°)
OKLaboklab(41.72% 0.0106 -0.1767)
OKLCHoklch(41.72% 0.177 273.4)
XYZxyz(10.0816, 6.5314, 38.7518)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339AA #AAA433
analogous
#3374AA #3339AA #6833AA
triadic
#3339AA #AA3339 #39AA33
tetradic
#3339AA #AA3374 #AAA433 #33AA68
square
#3339AA #AA3374 #AAA433 #33AA68
split-complementary
#3339AA #AA6833 #74AA33
monochromatic
#17194C #25297B #3339AA #5056CA #7F83D9

Accessibility & contrast

On white

9.11
#3339AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3339AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3339AA#FFFFFF#000000##FFFFFF
##3339AA1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3339aa;
/* rgb */ color: rgb(51, 57, 170);
/* oklch */ color: oklch(41.7% 0.177 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b70c4',
    500: '#3339aa',
    950: '#000000',
  },
}
SCSS
$custom: #3339aa;
$custom-light: #7b70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3339aa",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 236.975,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.17705,
    "h": 273.4
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#3339AA
secondary
#C2BE77
accent
#D64BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3339AA

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

Preview Lab → · Contrast checker → · Palette generator →

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