#3330B8#3330B8

#3330B8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.205 H 273.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3330B8
RGBrgb(51, 48, 184)
HSLhsl(241, 59%, 45%)
HSVhsv(241, 74%, 72%)
CMYKcmyk(72.3%, 73.9%, 0%, 27.8%)
CIE-LABlab(30.10, 45.47, -70.55)
CIE-LCHlch(30.10, 83.93, 302.80°)
OKLaboklab(41.68% 0.014 -0.2041)
OKLCHoklch(41.68% 0.205 273.9)
XYZxyz(11.0710, 6.2773, 45.9663)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330B8 #B5B830
analogous
#3071B8 #3330B8 #7730B8
triadic
#3330B8 #B83330 #30B833
tetradic
#3330B8 #B83071 #B5B830 #30B877
square
#3330B8 #B83071 #B5B830 #30B877
split-complementary
#3330B8 #B87730 #71B830
monochromatic
#181757 #262387 #3330B8 #5653D2 #8684DF

Accessibility & contrast

On white

9.31
#3330B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3330B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3330B8
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330B8#FFFFFF#000000##FFFFFF
##3330B81.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3330b8;
/* rgb */ color: rgb(51, 48, 184);
/* oklch */ color: oklch(41.7% 0.205 273.9);
Tailwind
colors: {
  custom: {
    50: '#7f6acf',
    500: '#3330b8',
    950: '#000000',
  },
}
SCSS
$custom: #3330b8;
$custom-light: #7f6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3330b8",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 241.324,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41683,
    "c": 0.20454,
    "h": 273.9
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#3330B8
secondary
#C6C87C
accent
#E246DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3330B8

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

Preview Lab → · Contrast checker → · Palette generator →

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