#3330A6#3330A6

#3330A6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.182 H 275.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3330A6
RGBrgb(51, 48, 166)
HSLhsl(242, 55%, 42%)
HSVhsv(242, 71%, 65%)
CMYKcmyk(69.3%, 71.1%, 0%, 34.9%)
CIE-LABlab(28.30, 39.47, -62.75)
CIE-LCHlch(28.30, 74.13, 302.17°)
OKLaboklab(39.86% 0.0171 -0.1813)
OKLCHoklch(39.86% 0.182 275.4)
XYZxyz(9.3029, 5.5700, 36.6539)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330A6 #A3A630
analogous
#3068A6 #3330A6 #6E30A6
triadic
#3330A6 #A63330 #30A633
tetradic
#3330A6 #A63068 #A3A630 #30A66E
square
#3330A6 #A63068 #A3A630 #30A66E
split-complementary
#3330A6 #A66E30 #68A630
monochromatic
#161547 #242277 #3330A6 #4C49CA #7B78D8

Accessibility & contrast

On white

9.93
#3330A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3330A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3330A6
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330A6#FFFFFF#000000##FFFFFF
##3330A61.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3330a6;
/* rgb */ color: rgb(51, 48, 166);
/* oklch */ color: oklch(39.9% 0.182 275.4);
Tailwind
colors: {
  custom: {
    50: '#7b69c2',
    500: '#3330a6',
    950: '#000000',
  },
}
SCSS
$custom: #3330a6;
$custom-light: #7b69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3330a6",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 241.525,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39857,
    "c": 0.18211,
    "h": 275.4
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#3330A6
secondary
#BEC071
accent
#DE49DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3330A6

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

Preview Lab → · Contrast checker → · Palette generator →

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