#345F8B#345F8B

#345F8B is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.5% C 0.086 H 250.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#345F8B
RGBrgb(52, 95, 139)
HSLhsl(210, 46%, 37%)
HSVhsv(210, 63%, 55%)
CMYKcmyk(62.6%, 31.7%, 0%, 45.5%)
CIE-LABlab(39.20, -0.60, -28.85)
CIE-LCHlch(39.20, 28.85, 268.81°)
OKLaboklab(47.51% -0.0287 -0.0814)
OKLCHoklch(47.51% 0.086 250.6)
XYZxyz(10.1669, 10.7776, 25.9656)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F8B #8B6034
analogous
#348B8B #345F8B #35348B
triadic
#345F8B #8B345F #5F8B34
tetradic
#345F8B #8B348B #8B6034 #348B35
square
#345F8B #8B348B #8B6034 #348B35
split-complementary
#345F8B #8B3534 #8B8B34
monochromatic
#132232 #23415E #345F8B #457DB8 #709CC9

Accessibility & contrast

On white

6.65
#345F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#345F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345F8B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F8B#FFFFFF#000000##FFFFFF
##345F8B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345f8b;
/* rgb */ color: rgb(52, 95, 139);
/* oklch */ color: oklch(47.5% 0.086 250.6);
Tailwind
colors: {
  custom: {
    50: '#748cad',
    500: '#345f8b',
    950: '#000000',
  },
}
SCSS
$custom: #345f8b;
$custom-light: #748cad;
$custom-dark: #000000;
JSON
{
  "hex": "#345f8b",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 139
  },
  "hsl": {
    "h": 210.345,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.0863,
    "h": 250.6
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#345F8B
secondary
#B28E69
accent
#9553D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #345F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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