#333BB2#333BB2

#333BB2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.185 H 272.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#333BB2
RGBrgb(51, 59, 178)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 70%)
CMYKcmyk(71.3%, 66.9%, 0%, 30.2%)
CIE-LABlab(31.91, 36.88, -64.01)
CIE-LCHlch(31.91, 73.87, 299.95°)
OKLaboklab(42.81% 0.0085 -0.185)
OKLCHoklch(42.81% 0.185 272.6)
XYZxyz(10.9624, 7.0450, 42.8929)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BB2 #B2AA33
analogous
#337BB2 #333BB2 #6A33B2
triadic
#333BB2 #B2333B #3BB233
tetradic
#333BB2 #B2337B #B2AA33 #33B26A
square
#333BB2 #B2337B #B2AA33 #33B26A
split-complementary
#333BB2 #B26A33 #7BB233
monochromatic
#181B53 #252B82 #333BB2 #545CCE #8489DC

Accessibility & contrast

On white

8.72
#333BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#333BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BB2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BB2#FFFFFF#000000##FFFFFF
##333BB21.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #333bb2;
/* rgb */ color: rgb(51, 59, 178);
/* oklch */ color: oklch(42.8% 0.185 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d71ca',
    500: '#333bb2',
    950: '#000000',
  },
}
SCSS
$custom: #333bb2;
$custom-light: #7d71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#333bb2",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 236.22,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.18518,
    "h": 272.6
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#333BB2
secondary
#C5C07C
accent
#D549DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#333BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva