#345ACD#345ACD

#345ACD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.183 H 266.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#345ACD
RGBrgb(52, 90, 205)
HSLhsl(225, 60%, 50%)
HSVhsv(225, 75%, 80%)
CMYKcmyk(74.6%, 56.1%, 0%, 19.6%)
CIE-LABlab(41.92, 26.93, -63.47)
CIE-LCHlch(41.92, 68.94, 292.99°)
OKLaboklab(50.92% -0.0125 -0.183)
OKLCHoklch(50.92% 0.183 266.1)
XYZxyz(16.0879, 12.4484, 59.3007)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345ACD #CDA734
analogous
#34A6CD #345ACD #5A34CD
triadic
#345ACD #CD345A #5ACD34
tetradic
#345ACD #CD34A6 #CDA734 #34CD5A
square
#345ACD #CD34A6 #CDA734 #34CD5A
split-complementary
#345ACD #CD5A34 #A6CD34
monochromatic
#1B2F6C #27449D #345ACD #6582D9 #96AAE5

Accessibility & contrast

On white

6.02
#345ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#345ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345ACD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345ACD#FFFFFF#000000##FFFFFF
##345ACD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345acd;
/* rgb */ color: rgb(52, 90, 205);
/* oklch */ color: oklch(50.9% 0.183 266.1);
Tailwind
colors: {
  custom: {
    50: '#8188dd',
    500: '#345acd',
    950: '#000000',
  },
}
SCSS
$custom: #345acd;
$custom-light: #8188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#345acd",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 225.098,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.18348,
    "h": 266.1
  },
  "luminance": 0.1245
}

Semantic roles & 50–950 ramp

primary
#345ACD
secondary
#D1C08C
accent
#BC44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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