#345F97#345F97

#345F97 is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.103 H 255.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#345F97
RGBrgb(52, 95, 151)
HSLhsl(214, 49%, 40%)
HSVhsv(214, 66%, 59%)
CMYKcmyk(65.6%, 37.1%, 0%, 40.8%)
CIE-LABlab(39.83, 3.70, -35.09)
CIE-LCHlch(39.83, 35.28, 276.02°)
OKLaboklab(48.2% -0.0252 -0.0996)
OKLCHoklch(48.2% 0.103 255.8)
XYZxyz(11.0923, 11.1478, 30.8393)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F97 #976C34
analogous
#349197 #345F97 #3A3497
triadic
#345F97 #97345F #5F9734
tetradic
#345F97 #973491 #976C34 #34973A
square
#345F97 #973491 #976C34 #34973A
split-complementary
#345F97 #973A34 #919734
monochromatic
#15263C #244269 #345F97 #487CC0 #769DD0

Accessibility & contrast

On white

6.50
#345F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345F97
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F97#FFFFFF#000000##FFFFFF
##345F971.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476399
Deuteranopia (green-blind)
#395A96
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345f97;
/* rgb */ color: rgb(52, 95, 151);
/* oklch */ color: oklch(48.2% 0.103 255.8);
Tailwind
colors: {
  custom: {
    50: '#768cb6',
    500: '#345f97',
    950: '#000000',
  },
}
SCSS
$custom: #345f97;
$custom-light: #768cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#345f97",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 213.939,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.10273,
    "h": 255.8
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#345F97
secondary
#B8986F
accent
#9D4FD8
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #345F97

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

Preview Lab → · Contrast checker → · Palette generator →

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