#345A90#345A90

#345A90 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.6% C 0.098 H 257.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#345A90
RGBrgb(52, 90, 144)
HSLhsl(215, 47%, 38%)
HSVhsv(215, 64%, 56%)
CMYKcmyk(63.9%, 37.5%, 0%, 43.5%)
CIE-LABlab(37.94, 4.36, -33.86)
CIE-LCHlch(37.94, 34.14, 277.33°)
OKLaboklab(46.61% -0.0216 -0.096)
OKLCHoklch(46.61% 0.098 257.3)
XYZxyz(10.1046, 10.0551, 27.7885)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A90 #906A34
analogous
#348890 #345A90 #3C3490
triadic
#345A90 #90345A #5A9034
tetradic
#345A90 #903488 #906A34 #34903C
square
#345A90 #903488 #906A34 #34903C
split-complementary
#345A90 #903C34 #889034
monochromatic
#142236 #243E63 #345A90 #4576BC #7297CC

Accessibility & contrast

On white

6.97
#345A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#345A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345A90
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A90#FFFFFF#000000##FFFFFF
##345A901.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E92
Deuteranopia (green-blind)
#36558F
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345a90;
/* rgb */ color: rgb(52, 90, 144);
/* oklch */ color: oklch(46.6% 0.098 257.3);
Tailwind
colors: {
  custom: {
    50: '#7588b1',
    500: '#345a90',
    950: '#000000',
  },
}
SCSS
$custom: #345a90;
$custom-light: #7588b1;
$custom-dark: #000000;
JSON
{
  "hex": "#345a90",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 144
  },
  "hsl": {
    "h": 215.217,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46608,
    "c": 0.09844,
    "h": 257.3
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#345A90
secondary
#B4966B
accent
#9F51D7
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345A90

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

Preview Lab → · Contrast checker → · Palette generator →

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