#333BB3#333BB3

#333BB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.186 H 272.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#333BB3
RGBrgb(51, 59, 179)
HSLhsl(236, 56%, 45%)
HSVhsv(236, 72%, 70%)
CMYKcmyk(71.5%, 67%, 0%, 29.8%)
CIE-LABlab(32.00, 37.23, -64.46)
CIE-LCHlch(32.00, 74.44, 300.01°)
OKLaboklab(42.9% 0.0084 -0.1863)
OKLCHoklch(42.9% 0.186 272.6)
XYZxyz(11.0632, 7.0853, 43.4236)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BB3 #B3AB33
analogous
#337BB3 #333BB3 #6B33B3
triadic
#333BB3 #B3333B #3BB333
tetradic
#333BB3 #B3337B #B3AB33 #33B36B
square
#333BB3 #B3337B #B3AB33 #33B36B
split-complementary
#333BB3 #B36B33 #7BB333
monochromatic
#181C54 #252B83 #333BB3 #555CCE #848ADC

Accessibility & contrast

On white

8.69
#333BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#333BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BB3
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BB3#FFFFFF#000000##FFFFFF
##333BB31.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #333bb3;
/* rgb */ color: rgb(51, 59, 179);
/* oklch */ color: oklch(42.9% 0.186 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d71cb',
    500: '#333bb3',
    950: '#000000',
  },
}
SCSS
$custom: #333bb3;
$custom-light: #7d71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#333bb3",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 236.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.18648,
    "h": 272.6
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#333BB3
secondary
#C6C17C
accent
#D649DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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