#3351AE#3351AE

#3351AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.153 H 266.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#3351AE
RGBrgb(51, 81, 174)
HSLhsl(225, 55%, 44%)
HSVhsv(225, 71%, 68%)
CMYKcmyk(70.7%, 53.4%, 0%, 31.8%)
CIE-LABlab(37.19, 21.16, -53.02)
CIE-LCHlch(37.19, 57.09, 291.76°)
OKLaboklab(46.63% -0.0084 -0.1525)
OKLCHoklch(46.63% 0.153 266.9)
XYZxyz(11.9450, 9.6434, 41.2680)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351AE #AE9033
analogous
#338FAE #3351AE #5333AE
triadic
#3351AE #AE3351 #51AE33
tetradic
#3351AE #AE338F #AE9033 #33AE53
square
#3351AE #AE338F #AE9033 #33AE53
split-complementary
#3351AE #AE5333 #8FAE33
monochromatic
#17254F #253B7F #3351AE #5270CC #8197DA

Accessibility & contrast

On white

7.17
#3351AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3351AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3351AE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351AE#FFFFFF#000000##FFFFFF
##3351AE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5DB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3351ae;
/* rgb */ color: rgb(51, 81, 174);
/* oklch */ color: oklch(46.6% 0.153 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a81c7',
    500: '#3351ae',
    950: '#000000',
  },
}
SCSS
$custom: #3351ae;
$custom-light: #7a81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3351ae",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 225.366,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.15272,
    "h": 266.9
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#3351AE
secondary
#C3B179
accent
#BA4ADE
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3351AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3351AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva