#3330B7#3330B7

#3330B7 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.203 H 274.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3330B7
RGBrgb(51, 48, 183)
HSLhsl(241, 58%, 45%)
HSVhsv(241, 74%, 72%)
CMYKcmyk(72.1%, 73.8%, 0%, 28.2%)
CIE-LABlab(30.00, 45.14, -70.12)
CIE-LCHlch(30.00, 83.40, 302.77°)
OKLaboklab(41.58% 0.0142 -0.2028)
OKLCHoklch(41.58% 0.203 274)
XYZxyz(10.9666, 6.2355, 45.4162)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330B7 #B4B730
analogous
#3071B7 #3330B7 #7630B7
triadic
#3330B7 #B73330 #30B733
tetradic
#3330B7 #B73071 #B4B730 #30B776
square
#3330B7 #B73071 #B4B730 #30B776
split-complementary
#3330B7 #B77630 #71B730
monochromatic
#181756 #252387 #3330B7 #5552D2 #8583DE

Accessibility & contrast

On white

9.34
#3330B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3330B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3330B7
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330B7#FFFFFF#000000##FFFFFF
##3330B71.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3330b7;
/* rgb */ color: rgb(51, 48, 183);
/* oklch */ color: oklch(41.6% 0.203 274.0);
Tailwind
colors: {
  custom: {
    50: '#7f6ace',
    500: '#3330b7',
    950: '#000000',
  },
}
SCSS
$custom: #3330b7;
$custom-light: #7f6ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3330b7",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 241.333,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.20333,
    "h": 274
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3330B7

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

Preview Lab → · Contrast checker → · Palette generator →

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