#3354AC#3354AC

#3354AC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.146 H 265.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3354AC
RGBrgb(51, 84, 172)
HSLhsl(224, 54%, 44%)
HSVhsv(224, 70%, 67%)
CMYKcmyk(70.3%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.88, 18.44, -50.73)
CIE-LCHlch(37.88, 53.98, 289.98°)
OKLaboklab(47.11% -0.0112 -0.1457)
OKLCHoklch(47.11% 0.146 265.6)
XYZxyz(11.9794, 10.0218, 40.3248)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354AC #AC8B33
analogous
#3390AC #3354AC #4E33AC
triadic
#3354AC #AC3354 #54AC33
tetradic
#3354AC #AC3390 #AC8B33 #33AC4E
square
#3354AC #AC3390 #AC8B33 #33AC4E
split-complementary
#3354AC #AC4E33 #90AC33
monochromatic
#17264E #253D7D #3354AC #5172CB #8098D9

Accessibility & contrast

On white

6.99
#3354AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3354AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354AC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354AC#FFFFFF#000000##FFFFFF
##3354AC1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3354ac;
/* rgb */ color: rgb(51, 84, 172);
/* oklch */ color: oklch(47.1% 0.146 265.6);
Tailwind
colors: {
  custom: {
    50: '#7a83c5',
    500: '#3354ac',
    950: '#000000',
  },
}
SCSS
$custom: #3354ac;
$custom-light: #7a83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3354ac",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 223.636,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47107,
    "c": 0.14612,
    "h": 265.6
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#3354AC
secondary
#C2AE78
accent
#B54ADE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3354AC

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

Preview Lab → · Contrast checker → · Palette generator →

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