#345195#345195

#345195 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.9% C 0.117 H 264.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#345195
RGBrgb(52, 81, 149)
HSLhsl(222, 48%, 39%)
HSVhsv(222, 65%, 58%)
CMYKcmyk(65.1%, 45.6%, 0%, 41.6%)
CIE-LABlab(35.56, 12.05, -40.67)
CIE-LCHlch(35.56, 42.41, 286.50°)
OKLaboklab(44.87% -0.0107 -0.1161)
OKLCHoklch(44.87% 0.117 264.7)
XYZxyz(9.7815, 8.7840, 29.6079)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345195 #957834
analogous
#348295 #345195 #483495
triadic
#345195 #953451 #519534
tetradic
#345195 #953482 #957834 #349548
square
#345195 #953482 #957834 #349548
split-complementary
#345195 #954834 #829534
monochromatic
#14203A #243868 #345195 #476BBF #7590CF

Accessibility & contrast

On white

7.62
#345195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#345195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345195
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345195#FFFFFF#000000##FFFFFF
##3451951.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315898
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345195;
/* rgb */ color: rgb(52, 81, 149);
/* oklch */ color: oklch(44.9% 0.117 264.7);
Tailwind
colors: {
  custom: {
    50: '#7681b4',
    500: '#345195',
    950: '#000000',
  },
}
SCSS
$custom: #345195;
$custom-light: #7681b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345195",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 222.062,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.11662,
    "h": 264.7
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#345195
secondary
#B7A16E
accent
#AF50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345195

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

Preview Lab → · Contrast checker → · Palette generator →

#345195 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva