#3354CE#3354CE

#3354CE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.192 H 267.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3354CE
RGBrgb(51, 84, 206)
HSLhsl(227, 61%, 50%)
HSVhsv(227, 75%, 81%)
CMYKcmyk(75.2%, 59.2%, 0%, 19.2%)
CIE-LABlab(40.41, 31.04, -66.51)
CIE-LCHlch(40.41, 73.39, 295.02°)
OKLaboklab(49.81% -0.0091 -0.1921)
OKLCHoklch(49.81% 0.192 267.3)
XYZxyz(15.6723, 11.4990, 59.7741)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354CE #CEAD33
analogous
#33A1CE #3354CE #5F33CE
triadic
#3354CE #CE3354 #54CE33
tetradic
#3354CE #CE33A1 #CEAD33 #33CE5F
square
#3354CE #CE33A1 #CEAD33 #33CE5F
split-complementary
#3354CE #CE5F33 #A1CE33
monochromatic
#1A2C6D #263F9E #3354CE #647DDA #96A7E6

Accessibility & contrast

On white

6.36
#3354CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3354CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3354CE#FFFFFF#000000##FFFFFF
##3354CE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3354ce;
/* rgb */ color: rgb(51, 84, 206);
/* oklch */ color: oklch(49.8% 0.192 267.3);
Tailwind
colors: {
  custom: {
    50: '#8183de',
    500: '#3354ce',
    950: '#000000',
  },
}
SCSS
$custom: #3354ce;
$custom-light: #8183de;
$custom-dark: #000000;
JSON
{
  "hex": "#3354ce",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 227.226,
    "s": 61.265,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.1923,
    "h": 267.3
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#3354CE
secondary
#D1C28C
accent
#C243E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3354CE

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

Preview Lab → · Contrast checker → · Palette generator →

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