#3456CF#3456CF

#3456CF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.191 H 267.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3456CF
RGBrgb(52, 86, 207)
HSLhsl(227, 62%, 51%)
HSVhsv(227, 75%, 81%)
CMYKcmyk(74.9%, 58.5%, 0%, 18.8%)
CIE-LABlab(41.04, 30.23, -66.05)
CIE-LCHlch(41.04, 72.64, 294.59°)
OKLaboklab(50.31% -0.0096 -0.1907)
OKLCHoklch(50.31% 0.191 267.1)
XYZxyz(16.0025, 11.8889, 60.4708)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3456CF #CFAD34
analogous
#34A3CF #3456CF #5F34CF
triadic
#3456CF #CF3456 #56CF34
tetradic
#3456CF #CF34A3 #CFAD34 #34CF5F
square
#3456CF #CF34A3 #CFAD34 #34CF5F
split-complementary
#3456CF #CF5F34 #A3CF34
monochromatic
#1A2D6E #2641A0 #3456CF #657FDB #97A8E6

Accessibility & contrast

On white

6.22
#3456CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3456CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3456CF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3456CF#FFFFFF#000000##FFFFFF
##3456CF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3456cf;
/* rgb */ color: rgb(52, 86, 207);
/* oklch */ color: oklch(50.3% 0.191 267.1);
Tailwind
colors: {
  custom: {
    50: '#8285df',
    500: '#3456cf',
    950: '#000000',
  },
}
SCSS
$custom: #3456cf;
$custom-light: #8285df;
$custom-dark: #000000;
JSON
{
  "hex": "#3456cf",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 226.839,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50311,
    "c": 0.19095,
    "h": 267.1
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#3456CF
secondary
#D2C38D
accent
#C143E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3456CF

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

Preview Lab → · Contrast checker → · Palette generator →

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