#3333A6#3333A6

#3333A6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.179 H 274.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3333A6
RGBrgb(51, 51, 166)
HSLhsl(240, 53%, 43%)
HSVhsv(240, 69%, 65%)
CMYKcmyk(69.3%, 69.3%, 0%, 34.9%)
CIE-LABlab(28.96, 37.66, -61.66)
CIE-LCHlch(28.96, 72.25, 301.42°)
OKLaboklab(40.33% 0.0151 -0.1781)
OKLCHoklch(40.33% 0.179 274.9)
XYZxyz(9.4297, 5.8238, 36.6962)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333A6 #A6A633
analogous
#336CA6 #3333A6 #6C33A6
triadic
#3333A6 #A63333 #33A633
tetradic
#3333A6 #A6336C #A6A633 #33A66C
square
#3333A6 #A6336C #A6A633 #33A66C
split-complementary
#3333A6 #A66C33 #6CA633
monochromatic
#161648 #252577 #3333A6 #4E4EC9 #7C7CD7

Accessibility & contrast

On white

9.70
#3333A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3333A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333A6
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333A6#FFFFFF#000000##FFFFFF
##3333A61.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3333a6;
/* rgb */ color: rgb(51, 51, 166);
/* oklch */ color: oklch(40.3% 0.179 274.9);
Tailwind
colors: {
  custom: {
    50: '#7b6bc1',
    500: '#3333a6',
    950: '#000000',
  },
}
SCSS
$custom: #3333a6;
$custom-light: #7b6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3333a6",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.17877,
    "h": 274.9
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#3333A6
secondary
#C0C075
accent
#DC4BDC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3333A6

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

Preview Lab → · Contrast checker → · Palette generator →

#3333A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva