#3456CC#3456CC

#3456CC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.187 H 267.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3456CC
RGBrgb(52, 86, 204)
HSLhsl(227, 60%, 50%)
HSVhsv(227, 75%, 80%)
CMYKcmyk(74.5%, 57.8%, 0%, 20%)
CIE-LABlab(40.81, 29.13, -64.70)
CIE-LCHlch(40.81, 70.96, 294.24°)
OKLaboklab(50.06% -0.0097 -0.1867)
OKLCHoklch(50.06% 0.187 267)
XYZxyz(15.6392, 11.7436, 58.5575)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3456CC #CCAA34
analogous
#34A2CC #3456CC #5E34CC
triadic
#3456CC #CC3456 #56CC34
tetradic
#3456CC #CC34A2 #CCAA34 #34CC5E
square
#3456CC #CC34A2 #CCAA34 #34CC5E
split-complementary
#3456CC #CC5E34 #A2CC34
monochromatic
#1B2D6B #27419C #3456CC #657FD8 #96A7E5

Accessibility & contrast

On white

6.27
#3456CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3456CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3456CC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3456CC#FFFFFF#000000##FFFFFF
##3456CC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3456cc;
/* rgb */ color: rgb(52, 86, 204);
/* oklch */ color: oklch(50.1% 0.187 267.0);
Tailwind
colors: {
  custom: {
    50: '#8185dc',
    500: '#3456cc',
    950: '#000000',
  },
}
SCSS
$custom: #3456cc;
$custom-light: #8185dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3456cc",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 226.579,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.18699,
    "h": 267
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#3456CC
secondary
#D0C18C
accent
#C045E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3456CC

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

Preview Lab → · Contrast checker → · Palette generator →

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