#333BB1#333BB1

#333BB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.184 H 272.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#333BB1
RGBrgb(51, 59, 177)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 69%)
CMYKcmyk(71.2%, 66.7%, 0%, 30.6%)
CIE-LABlab(31.82, 36.53, -63.56)
CIE-LCHlch(31.82, 73.31, 299.88°)
OKLaboklab(42.71% 0.0086 -0.1837)
OKLCHoklch(42.71% 0.184 272.7)
XYZxyz(10.8624, 7.0050, 42.3661)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BB1 #B1A933
analogous
#337AB1 #333BB1 #6A33B1
triadic
#333BB1 #B1333B #3BB133
tetradic
#333BB1 #B1337A #B1A933 #33B16A
square
#333BB1 #B1337A #B1A933 #33B16A
split-complementary
#333BB1 #B16A33 #7AB133
monochromatic
#181B52 #252B81 #333BB1 #545BCE #8389DB

Accessibility & contrast

On white

8.75
#333BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#333BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BB1
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BB1#FFFFFF#000000##FFFFFF
##333BB11.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #333bb1;
/* rgb */ color: rgb(51, 59, 177);
/* oklch */ color: oklch(42.7% 0.184 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c71c9',
    500: '#333bb1',
    950: '#000000',
  },
}
SCSS
$custom: #333bb1;
$custom-light: #7c71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#333bb1",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 236.19,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42713,
    "c": 0.18389,
    "h": 272.7
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#333BB1
secondary
#C5C07B
accent
#D549DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #333BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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