#3337B3#3337B3

#3337B3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.191 H 273.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3337B3
RGBrgb(51, 55, 179)
HSLhsl(238, 56%, 45%)
HSVhsv(238, 72%, 70%)
CMYKcmyk(71.5%, 69.3%, 0%, 29.8%)
CIE-LABlab(31.09, 39.69, -65.95)
CIE-LCHlch(31.09, 76.97, 301.04°)
OKLaboklab(42.24% 0.0109 -0.1907)
OKLCHoklch(42.24% 0.191 273.3)
XYZxyz(10.8654, 6.6898, 43.3577)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337B3 #B3AF33
analogous
#3377B3 #3337B3 #6F33B3
triadic
#3337B3 #B33337 #37B333
tetradic
#3337B3 #B33377 #B3AF33 #33B36F
square
#3337B3 #B33377 #B3AF33 #33B36F
split-complementary
#3337B3 #B36F33 #77B333
monochromatic
#181A54 #252883 #3337B3 #5559CE #8487DC

Accessibility & contrast

On white

8.98
#3337B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3337B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337B3
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337B3#FFFFFF#000000##FFFFFF
##3337B31.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3337b3;
/* rgb */ color: rgb(51, 55, 179);
/* oklch */ color: oklch(42.2% 0.191 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d6ecb',
    500: '#3337b3',
    950: '#000000',
  },
}
SCSS
$custom: #3337b3;
$custom-light: #7d6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3337b3",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 238.125,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42242,
    "c": 0.19098,
    "h": 273.3
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#3337B3
secondary
#C6C37C
accent
#DA49DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3337B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3337B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva