#3333A3#3333A3

#3333A3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.175 H 275.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3333A3
RGBrgb(51, 51, 163)
HSLhsl(240, 52%, 42%)
HSVhsv(240, 69%, 64%)
CMYKcmyk(68.7%, 68.7%, 0%, 36.1%)
CIE-LABlab(28.68, 36.63, -60.31)
CIE-LCHlch(28.68, 70.56, 301.27°)
OKLaboklab(40.04% 0.0155 -0.1742)
OKLCHoklch(40.04% 0.175 275.1)
XYZxyz(9.1577, 5.7150, 35.2637)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333A3 #A3A333
analogous
#336BA3 #3333A3 #6B33A3
triadic
#3333A3 #A33333 #33A333
tetradic
#3333A3 #A3336B #A3A333 #33A36B
square
#3333A3 #A3336B #A3A333 #33A36B
split-complementary
#3333A3 #A36B33 #6BA333
monochromatic
#161646 #242474 #3333A3 #4C4CC7 #7B7BD6

Accessibility & contrast

On white

9.80
#3333A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3333A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333A3
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333A3#FFFFFF#000000##FFFFFF
##3333A31.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3333a3;
/* rgb */ color: rgb(51, 51, 163);
/* oklch */ color: oklch(40.0% 0.175 275.1);
Tailwind
colors: {
  custom: {
    50: '#7a6bbf',
    500: '#3333a3',
    950: '#000000',
  },
}
SCSS
$custom: #3333a3;
$custom-light: #7a6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3333a3",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 240,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.17487,
    "h": 275.1
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#3333A3
secondary
#BEBE73
accent
#DC4CDC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3333A3

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

Preview Lab → · Contrast checker → · Palette generator →

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