#333BB0#333BB0

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

Color values

HEX#333BB0
RGBrgb(51, 59, 176)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 69%)
CMYKcmyk(71%, 66.5%, 0%, 31%)
CIE-LABlab(31.73, 36.18, -63.12)
CIE-LCHlch(31.73, 72.75, 299.82°)
OKLaboklab(42.62% 0.0086 -0.1824)
OKLCHoklch(42.62% 0.183 272.7)
XYZxyz(10.7630, 6.9653, 41.8431)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BB0 #B0A833
analogous
#337AB0 #333BB0 #6A33B0
triadic
#333BB0 #B0333B #3BB033
tetradic
#333BB0 #B0337A #B0A833 #33B06A
square
#333BB0 #B0337A #B0A833 #33B06A
split-complementary
#333BB0 #B06A33 #7AB033
monochromatic
#181B51 #252B81 #333BB0 #535BCD #8288DB

Accessibility & contrast

On white

8.77
#333BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#333BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BB0
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BB0#FFFFFF#000000##FFFFFF
##333BB01.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #333bb0;
/* rgb */ color: rgb(51, 59, 176);
/* oklch */ color: oklch(42.6% 0.183 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c71c9',
    500: '#333bb0',
    950: '#000000',
  },
}
SCSS
$custom: #333bb0;
$custom-light: #7c71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#333bb0",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 236.16,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.18258,
    "h": 272.7
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#333BB0
secondary
#C4C07B
accent
#D549DE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #333BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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