#345990#345990

#345990 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.4% C 0.100 H 258.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#345990
RGBrgb(52, 89, 144)
HSLhsl(216, 47%, 38%)
HSVhsv(216, 64%, 56%)
CMYKcmyk(63.9%, 38.2%, 0%, 43.5%)
CIE-LABlab(37.64, 5.00, -34.34)
CIE-LCHlch(37.64, 34.70, 278.29°)
OKLaboklab(46.37% -0.0204 -0.0975)
OKLCHoklch(46.37% 0.1 258.1)
XYZxyz(10.0208, 9.8875, 27.7605)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345990 #906B34
analogous
#348790 #345990 #3D3490
triadic
#345990 #903459 #599034
tetradic
#345990 #903487 #906B34 #34903D
square
#345990 #903487 #906B34 #34903D
split-complementary
#345990 #903D34 #879034
monochromatic
#142136 #243D63 #345990 #4575BC #7296CC

Accessibility & contrast

On white

7.05
#345990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#345990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345990
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345990#FFFFFF#000000##FFFFFF
##3459901.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#35558F
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345990;
/* rgb */ color: rgb(52, 89, 144);
/* oklch */ color: oklch(46.4% 0.100 258.1);
Tailwind
colors: {
  custom: {
    50: '#7587b1',
    500: '#345990',
    950: '#000000',
  },
}
SCSS
$custom: #345990;
$custom-light: #7587b1;
$custom-dark: #000000;
JSON
{
  "hex": "#345990",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 144
  },
  "hsl": {
    "h": 215.87,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.09958,
    "h": 258.1
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#345990
secondary
#B4976B
accent
#A151D7
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345990

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

Preview Lab → · Contrast checker → · Palette generator →

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