#3351AC#3351AC

#3351AC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.150 H 266.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3351AC
RGBrgb(51, 81, 172)
HSLhsl(225, 54%, 44%)
HSVhsv(225, 70%, 67%)
CMYKcmyk(70.3%, 52.9%, 0%, 32.5%)
CIE-LABlab(37.05, 20.42, -52.07)
CIE-LCHlch(37.05, 55.93, 291.41°)
OKLaboklab(46.48% -0.0085 -0.1497)
OKLCHoklch(46.48% 0.15 266.7)
XYZxyz(11.7515, 9.5660, 40.2488)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351AC #AC8E33
analogous
#338DAC #3351AC #5133AC
triadic
#3351AC #AC3351 #51AC33
tetradic
#3351AC #AC338D #AC8E33 #33AC51
square
#3351AC #AC338D #AC8E33 #33AC51
split-complementary
#3351AC #AC5133 #8DAC33
monochromatic
#17254E #253B7D #3351AC #516FCB #8096D9

Accessibility & contrast

On white

7.21
#3351AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3351AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3351AC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351AC#FFFFFF#000000##FFFFFF
##3351AC1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3351ac;
/* rgb */ color: rgb(51, 81, 172);
/* oklch */ color: oklch(46.5% 0.150 266.7);
Tailwind
colors: {
  custom: {
    50: '#7a81c5',
    500: '#3351ac',
    950: '#000000',
  },
}
SCSS
$custom: #3351ac;
$custom-light: #7a81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3351ac",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 225.124,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.14992,
    "h": 266.7
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#3351AC
secondary
#C2B078
accent
#B94ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3351AC

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

Preview Lab → · Contrast checker → · Palette generator →

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