#3354AA#3354AA

#3354AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.143 H 265.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3354AA
RGBrgb(51, 84, 170)
HSLhsl(223, 54%, 43%)
HSVhsv(223, 70%, 67%)
CMYKcmyk(70%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.74, 17.69, -49.76)
CIE-LCHlch(37.74, 52.81, 289.57°)
OKLaboklab(46.96% -0.0114 -0.1428)
OKLCHoklch(46.96% 0.143 265.4)
XYZxyz(11.7887, 9.9455, 39.3208)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354AA #AA8933
analogous
#338FAA #3354AA #4D33AA
triadic
#3354AA #AA3354 #54AA33
tetradic
#3354AA #AA338F #AA8933 #33AA4D
square
#3354AA #AA338F #AA8933 #33AA4D
split-complementary
#3354AA #AA4D33 #8FAA33
monochromatic
#17254C #253D7B #3354AA #5072CA #7F98D9

Accessibility & contrast

On white

7.02
#3354AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3354AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3354AA#FFFFFF#000000##FFFFFF
##3354AA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3354aa;
/* rgb */ color: rgb(51, 84, 170);
/* oklch */ color: oklch(47.0% 0.143 265.4);
Tailwind
colors: {
  custom: {
    50: '#7983c4',
    500: '#3354aa',
    950: '#000000',
  },
}
SCSS
$custom: #3354aa;
$custom-light: #7983c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3354aa",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 223.361,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.14331,
    "h": 265.4
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#3354AA
secondary
#C2AD77
accent
#B54BDD
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3354AA

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

Preview Lab → · Contrast checker → · Palette generator →

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