#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 |
|---|---|
| RGB | rgb(52, 95, 207) |
| HSL | hsl(223, 62%, 51%) |
| HSV | hsv(223, 75%, 81%) |
| CMYK | cmyk(74.9%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(43.39, 24.45, -62.24) |
| CIE-LCH | lch(43.39, 66.87, 291.44°) |
| OKLab | oklab(52.08% -0.0161 -0.1793) |
| OKLCH | oklch(52.08% 0.18 264.9) |
| XYZ | xyz(16.7669, 13.4176, 60.7256) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.39
Royal Blue
#4169E1
ΔE00 4.30
Denim
#1560BD
ΔE00 4.53
Warm Blue
#4B57DB
ΔE00 5.01
Sapphire
#0F52BA
ΔE00 5.50
Bright Blue
#0165FC
ΔE00 5.55
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 |
|---|---|---|---|---|
| ##345FCF | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.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