#345FBD#345FBD

#345FBD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.156 H 263.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#345FBD
RGBrgb(52, 95, 189)
HSLhsl(221, 57%, 47%)
HSVhsv(221, 72%, 74%)
CMYKcmyk(72.5%, 49.7%, 0%, 25.9%)
CIE-LABlab(42.13, 17.75, -53.85)
CIE-LCHlch(42.13, 56.70, 288.24°)
OKLaboklab(50.73% -0.0179 -0.1547)
OKLCHoklch(50.73% 0.156 263.4)
XYZxyz(14.6904, 12.5870, 49.7896)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FBD #BD9234
analogous
#34A3BD #345FBD #4E34BD
triadic
#345FBD #BD345F #5FBD34
tetradic
#345FBD #BD34A3 #BD9234 #34BD4E
square
#345FBD #BD34A3 #BD9234 #34BD4E
split-complementary
#345FBD #BD4E34 #A3BD34
monochromatic
#1A2F5D #27478D #345FBD #5C81D2 #8CA6DF

Accessibility & contrast

On white

5.97
#345FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#345FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FBD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FBD#FFFFFF#000000##FFFFFF
##345FBD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345fbd;
/* rgb */ color: rgb(52, 95, 189);
/* oklch */ color: oklch(50.7% 0.156 263.4);
Tailwind
colors: {
  custom: {
    50: '#7d8bd1',
    500: '#345fbd',
    950: '#000000',
  },
}
SCSS
$custom: #345fbd;
$custom-light: #7d8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#345fbd",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 221.168,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.15571,
    "h": 263.4
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#345FBD
secondary
#CAB483
accent
#B048E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #345FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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