#345FCF#345FCF

#345FCF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.180 H 264.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#345FCF
RGBrgb(52, 95, 207)
HSLhsl(223, 62%, 51%)
HSVhsv(223, 75%, 81%)
CMYKcmyk(74.9%, 54.1%, 0%, 18.8%)
CIE-LABlab(43.39, 24.45, -62.24)
CIE-LCHlch(43.39, 66.87, 291.44°)
OKLaboklab(52.08% -0.0161 -0.1793)
OKLCHoklch(52.08% 0.18 264.9)
XYZxyz(16.7669, 13.4176, 60.7256)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FCF #CFA434
analogous
#34ACCF #345FCF #5634CF
triadic
#345FCF #CF345F #5FCF34
tetradic
#345FCF #CF34AC #CFA434 #34CF56
square
#345FCF #CF34AC #CFA434 #34CF56
split-complementary
#345FCF #CF5634 #ACCF34
monochromatic
#1A326E #2648A0 #345FCF #6586DB #97ADE6

Accessibility & contrast

On white

5.70
#345FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#345FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FCF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FCF#FFFFFF#000000##FFFFFF
##345FCF1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #345fcf;
/* rgb */ color: rgb(52, 95, 207);
/* oklch */ color: oklch(52.1% 0.180 264.9);
Tailwind
colors: {
  custom: {
    50: '#818bde',
    500: '#345fcf',
    950: '#000000',
  },
}
SCSS
$custom: #345fcf;
$custom-light: #818bde;
$custom-dark: #000000;
JSON
{
  "hex": "#345fcf",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 223.355,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.18007,
    "h": 264.9
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#345FCF
secondary
#D2BF8D
accent
#B843E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #345FCF

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

Preview Lab → · Contrast checker → · Palette generator →

#345FCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva