#345FA0#345FA0

#345FA0 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.8% C 0.115 H 258.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#345FA0
RGBrgb(52, 95, 160)
HSLhsl(216, 51%, 42%)
HSVhsv(216, 68%, 63%)
CMYKcmyk(67.5%, 40.6%, 0%, 37.3%)
CIE-LABlab(40.33, 6.99, -39.67)
CIE-LCHlch(40.33, 40.28, 279.99°)
OKLaboklab(48.76% -0.023 -0.113)
OKLCHoklch(48.76% 0.115 258.5)
XYZxyz(11.8513, 11.4514, 34.8367)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FA0 #A07534
analogous
#3495A0 #345FA0 #3F34A0
triadic
#345FA0 #A0345F #5FA034
tetradic
#345FA0 #A03495 #A07534 #34A03F
square
#345FA0 #A03495 #A07534 #34A03F
split-complementary
#345FA0 #A03F34 #95A034
monochromatic
#162844 #254472 #345FA0 #4C7CC5 #7A9ED4

Accessibility & contrast

On white

6.38
#345FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#345FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FA0
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FA0#FFFFFF#000000##FFFFFF
##345FA01.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A3
Deuteranopia (green-blind)
#315A9F
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345fa0;
/* rgb */ color: rgb(52, 95, 160);
/* oklch */ color: oklch(48.8% 0.115 258.5);
Tailwind
colors: {
  custom: {
    50: '#778cbc',
    500: '#345fa0',
    950: '#000000',
  },
}
SCSS
$custom: #345fa0;
$custom-light: #778cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#345fa0",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 216.111,
    "s": 50.943,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.11531,
    "h": 258.5
  },
  "luminance": 0.11453
}

Semantic roles & 50–950 ramp

primary
#345FA0
secondary
#BD9F73
accent
#A24DDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #345FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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