#345ACA#345ACA

#345ACA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.179 H 265.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#345ACA
RGBrgb(52, 90, 202)
HSLhsl(225, 59%, 50%)
HSVhsv(225, 74%, 79%)
CMYKcmyk(74.3%, 55.4%, 0%, 20.8%)
CIE-LABlab(41.70, 25.82, -62.10)
CIE-LCHlch(41.70, 67.25, 292.58°)
OKLaboklab(50.69% -0.0127 -0.179)
OKLCHoklch(50.69% 0.179 265.9)
XYZxyz(15.7293, 12.3049, 57.4118)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345ACA #CAA434
analogous
#34A5CA #345ACA #5934CA
triadic
#345ACA #CA345A #5ACA34
tetradic
#345ACA #CA34A5 #CAA434 #34CA59
square
#345ACA #CA34A5 #CAA434 #34CA59
split-complementary
#345ACA #CA5934 #A5CA34
monochromatic
#1B2F69 #274499 #345ACA #6481D7 #95A9E4

Accessibility & contrast

On white

6.07
#345ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#345ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345ACA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345ACA#FFFFFF#000000##FFFFFF
##345ACA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345aca;
/* rgb */ color: rgb(52, 90, 202);
/* oklch */ color: oklch(50.7% 0.179 265.9);
Tailwind
colors: {
  custom: {
    50: '#8088db',
    500: '#345aca',
    950: '#000000',
  },
}
SCSS
$custom: #345aca;
$custom-light: #8088db;
$custom-dark: #000000;
JSON
{
  "hex": "#345aca",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 224.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.17948,
    "h": 265.9
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#345ACA
secondary
#CFBE8B
accent
#BB46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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