#3351AF#3351AF

#3351AF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.154 H 266.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3351AF
RGBrgb(51, 81, 175)
HSLhsl(225, 55%, 44%)
HSVhsv(225, 71%, 69%)
CMYKcmyk(70.9%, 53.7%, 0%, 31.4%)
CIE-LABlab(37.27, 21.53, -53.50)
CIE-LCHlch(37.27, 57.67, 291.92°)
OKLaboklab(46.71% -0.0083 -0.1539)
OKLCHoklch(46.71% 0.154 266.9)
XYZxyz(12.0428, 9.6826, 41.7834)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351AF #AF9133
analogous
#338FAF #3351AF #5333AF
triadic
#3351AF #AF3351 #51AF33
tetradic
#3351AF #AF338F #AF9133 #33AF53
square
#3351AF #AF338F #AF9133 #33AF53
split-complementary
#3351AF #AF5333 #8FAF33
monochromatic
#172550 #253B80 #3351AF #5270CD #8297DB

Accessibility & contrast

On white

7.15
#3351AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3351AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3351AF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351AF#FFFFFF#000000##FFFFFF
##3351AF1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3351af;
/* rgb */ color: rgb(51, 81, 175);
/* oklch */ color: oklch(46.7% 0.154 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a81c8',
    500: '#3351af',
    950: '#000000',
  },
}
SCSS
$custom: #3351af;
$custom-light: #7a81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3351af",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 225.484,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.15411,
    "h": 266.9
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3351AF

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

Preview Lab → · Contrast checker → · Palette generator →

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