#3456CE#3456CE

#3456CE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.190 H 267.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3456CE
RGBrgb(52, 86, 206)
HSLhsl(227, 61%, 51%)
HSVhsv(227, 75%, 81%)
CMYKcmyk(74.8%, 58.3%, 0%, 19.2%)
CIE-LABlab(40.96, 29.87, -65.60)
CIE-LCHlch(40.96, 72.08, 294.48°)
OKLaboklab(50.23% -0.0096 -0.1894)
OKLCHoklch(50.23% 0.19 267.1)
XYZxyz(15.8807, 11.8401, 59.8290)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3456CE #CEAC34
analogous
#34A3CE #3456CE #5F34CE
triadic
#3456CE #CE3456 #56CE34
tetradic
#3456CE #CE34A3 #CEAC34 #34CE5F
square
#3456CE #CE34A3 #CEAC34 #34CE5F
split-complementary
#3456CE #CE5F34 #A3CE34
monochromatic
#1A2D6D #26419F #3456CE #657FDA #97A8E6

Accessibility & contrast

On white

6.23
#3456CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3456CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3456CE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3456CE#FFFFFF#000000##FFFFFF
##3456CE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3456ce;
/* rgb */ color: rgb(52, 86, 206);
/* oklch */ color: oklch(50.2% 0.190 267.1);
Tailwind
colors: {
  custom: {
    50: '#8185de',
    500: '#3456ce',
    950: '#000000',
  },
}
SCSS
$custom: #3456ce;
$custom-light: #8185de;
$custom-dark: #000000;
JSON
{
  "hex": "#3456ce",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 226.753,
    "s": 61.111,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.18964,
    "h": 267.1
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#3456CE
secondary
#D1C28D
accent
#C144E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3456CE

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

Preview Lab → · Contrast checker → · Palette generator →

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