#345EAF#345EAF

#345EAF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.138 H 262.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#345EAF
RGBrgb(52, 94, 175)
HSLhsl(220, 54%, 45%)
HSVhsv(220, 70%, 69%)
CMYKcmyk(70.3%, 46.3%, 0%, 31.4%)
CIE-LABlab(40.94, 13.18, -47.57)
CIE-LCHlch(40.94, 49.36, 285.49°)
OKLaboklab(49.52% -0.0191 -0.1362)
OKLCHoklch(49.52% 0.138 262)
XYZxyz(13.1540, 11.8293, 42.1392)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EAF #AF8534
analogous
#349CAF #345EAF #4734AF
triadic
#345EAF #AF345E #5EAF34
tetradic
#345EAF #AF349C #AF8534 #34AF47
square
#345EAF #AF349C #AF8534 #34AF47
split-complementary
#345EAF #AF4734 #9CAF34
monochromatic
#182B51 #264580 #345EAF #547DCC #83A1DA

Accessibility & contrast

On white

6.24
#345EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#345EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EAF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EAF#FFFFFF#000000##FFFFFF
##345EAF1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345eaf;
/* rgb */ color: rgb(52, 94, 175);
/* oklch */ color: oklch(49.5% 0.138 262.0);
Tailwind
colors: {
  custom: {
    50: '#7a8bc7',
    500: '#345eaf',
    950: '#000000',
  },
}
SCSS
$custom: #345eaf;
$custom-light: #7a8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#345eaf",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 219.512,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49523,
    "c": 0.13755,
    "h": 262
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#345EAF
secondary
#C4AB7B
accent
#AB4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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