#345286#345286

#345286 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.093 H 260.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#345286
RGBrgb(52, 82, 134)
HSLhsl(218, 44%, 36%)
HSVhsv(218, 61%, 53%)
CMYKcmyk(61.2%, 38.8%, 0%, 47.5%)
CIE-LABlab(34.97, 5.92, -32.47)
CIE-LCHlch(34.97, 33.00, 280.34°)
OKLaboklab(44.12% -0.015 -0.0921)
OKLCHoklch(44.12% 0.093 260.8)
XYZxyz(8.7350, 8.4851, 23.7271)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345286 #866834
analogous
#347B86 #345286 #3F3486
triadic
#345286 #863452 #528634
tetradic
#345286 #86347B #866834 #34863F
square
#345286 #86347B #866834 #34863F
split-complementary
#345286 #863F34 #7B8634
monochromatic
#121C2E #23375A #345286 #456DB2 #6E8EC7

Accessibility & contrast

On white

7.79
#345286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#345286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345286
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345286#FFFFFF#000000##FFFFFF
##3452861.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5688
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345286;
/* rgb */ color: rgb(52, 82, 134);
/* oklch */ color: oklch(44.1% 0.093 260.8);
Tailwind
colors: {
  custom: {
    50: '#7382a9',
    500: '#345286',
    950: '#000000',
  },
}
SCSS
$custom: #345286;
$custom-light: #7382a9;
$custom-dark: #000000;
JSON
{
  "hex": "#345286",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 218.049,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.09328,
    "h": 260.8
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#345286
secondary
#AF9567
accent
#A554D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #345286

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

Preview Lab → · Contrast checker → · Palette generator →

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