#345AAF#345AAF

#345AAF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.142 H 263.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#345AAF
RGBrgb(52, 90, 175)
HSLhsl(221, 54%, 45%)
HSVhsv(221, 70%, 69%)
CMYKcmyk(70.3%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.81, 15.78, -49.39)
CIE-LCHlch(39.81, 51.85, 287.72°)
OKLaboklab(48.65% -0.0154 -0.1416)
OKLCHoklch(48.65% 0.142 263.8)
XYZxyz(12.8075, 11.1362, 42.0237)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AAF #AF8934
analogous
#3498AF #345AAF #4B34AF
triadic
#345AAF #AF345A #5AAF34
tetradic
#345AAF #AF3498 #AF8934 #34AF4B
square
#345AAF #AF3498 #AF8934 #34AF4B
split-complementary
#345AAF #AF4B34 #98AF34
monochromatic
#182951 #264280 #345AAF #5479CC #839EDA

Accessibility & contrast

On white

6.51
#345AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#345AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AAF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AAF#FFFFFF#000000##FFFFFF
##345AAF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#0958AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345aaf;
/* rgb */ color: rgb(52, 90, 175);
/* oklch */ color: oklch(48.7% 0.142 263.8);
Tailwind
colors: {
  custom: {
    50: '#7a88c7',
    500: '#345aaf',
    950: '#000000',
  },
}
SCSS
$custom: #345aaf;
$custom-light: #7a88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#345aaf",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 221.463,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.14248,
    "h": 263.8
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#345AAF
secondary
#C4AD7B
accent
#B04ADE
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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