#3354BE#3354BE

#3354BE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.171 H 266.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3354BE
RGBrgb(51, 84, 190)
HSLhsl(226, 58%, 47%)
HSVhsv(226, 73%, 75%)
CMYKcmyk(73.2%, 55.8%, 0%, 25.5%)
CIE-LABlab(39.17, 25.14, -59.23)
CIE-LCHlch(39.17, 64.34, 293.00°)
OKLaboklab(48.49% -0.0097 -0.1707)
OKLCHoklch(48.49% 0.171 266.8)
XYZxyz(13.8266, 10.7607, 50.0535)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354BE #BE9D33
analogous
#339ABE #3354BE #5733BE
triadic
#3354BE #BE3354 #54BE33
tetradic
#3354BE #BE339A #BE9D33 #33BE57
square
#3354BE #BE339A #BE9D33 #33BE57
split-complementary
#3354BE #BE5733 #9ABE33
monochromatic
#19295E #263F8E #3354BE #5B78D3 #8B9FE0

Accessibility & contrast

On white

6.66
#3354BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3354BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3354BE#FFFFFF#000000##FFFFFF
##3354BE1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3354be;
/* rgb */ color: rgb(51, 84, 190);
/* oklch */ color: oklch(48.5% 0.171 266.8);
Tailwind
colors: {
  custom: {
    50: '#7e83d2',
    500: '#3354be',
    950: '#000000',
  },
}
SCSS
$custom: #3354be;
$custom-light: #7e83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3354be",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 225.755,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.17097,
    "h": 266.8
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#3354BE
secondary
#CAB983
accent
#BC47E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3354BE

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

Preview Lab → · Contrast checker → · Palette generator →

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