#345BCF#345BCF

#345BCF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.185 H 265.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#345BCF
RGBrgb(52, 91, 207)
HSLhsl(225, 62%, 51%)
HSVhsv(225, 75%, 81%)
CMYKcmyk(74.9%, 56%, 0%, 18.8%)
CIE-LABlab(42.33, 27.02, -63.95)
CIE-LCHlch(42.33, 69.42, 292.91°)
OKLaboklab(51.28% -0.0131 -0.1844)
OKLCHoklch(51.28% 0.185 265.9)
XYZxyz(16.4158, 12.7154, 60.6085)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BCF #CFA834
analogous
#34A9CF #345BCF #5A34CF
triadic
#345BCF #CF345B #5BCF34
tetradic
#345BCF #CF34A9 #CFA834 #34CF5A
square
#345BCF #CF34A9 #CFA834 #34CF5A
split-complementary
#345BCF #CF5A34 #A9CF34
monochromatic
#1A2F6E #2645A0 #345BCF #6583DB #97ABE6

Accessibility & contrast

On white

5.93
#345BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#345BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BCF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BCF#FFFFFF#000000##FFFFFF
##345BCF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #345bcf;
/* rgb */ color: rgb(52, 91, 207);
/* oklch */ color: oklch(51.3% 0.185 265.9);
Tailwind
colors: {
  custom: {
    50: '#8188de',
    500: '#345bcf',
    950: '#000000',
  },
}
SCSS
$custom: #345bcf;
$custom-light: #8188de;
$custom-dark: #000000;
JSON
{
  "hex": "#345bcf",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 224.903,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.18492,
    "h": 265.9
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#345BCF
secondary
#D2C08D
accent
#BC43E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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