#3337B5#3337B5

#3337B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.194 H 273.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3337B5
RGBrgb(51, 55, 181)
HSLhsl(238, 56%, 45%)
HSVhsv(238, 72%, 71%)
CMYKcmyk(71.8%, 69.6%, 0%, 29%)
CIE-LABlab(31.28, 40.38, -66.83)
CIE-LCHlch(31.28, 78.08, 301.14°)
OKLaboklab(42.44% 0.0106 -0.1932)
OKLCHoklch(42.44% 0.194 273.1)
XYZxyz(11.0691, 6.7713, 44.4307)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337B5 #B5B133
analogous
#3378B5 #3337B5 #7033B5
triadic
#3337B5 #B53337 #37B533
tetradic
#3337B5 #B53378 #B5B133 #33B570
square
#3337B5 #B53378 #B5B133 #33B570
split-complementary
#3337B5 #B57033 #78B533
monochromatic
#181A56 #262885 #3337B5 #565ACF #8688DD

Accessibility & contrast

On white

8.92
#3337B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3337B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337B5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337B5#FFFFFF#000000##FFFFFF
##3337B51.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3337b5;
/* rgb */ color: rgb(51, 55, 181);
/* oklch */ color: oklch(42.4% 0.194 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e6fcc',
    500: '#3337b5',
    950: '#000000',
  },
}
SCSS
$custom: #3337b5;
$custom-light: #7e6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3337b5",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 238.154,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.19352,
    "h": 273.1
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#3337B5
secondary
#C6C47D
accent
#DB48DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3337B5

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

Preview Lab → · Contrast checker → · Palette generator →

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