#3A5CDA#3A5CDA

#3A5CDA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.197 H 267.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3A5CDA
RGBrgb(58, 92, 218)
HSLhsl(227, 68%, 54%)
HSVhsv(227, 73%, 85%)
CMYKcmyk(73.4%, 57.8%, 0%, 14.5%)
CIE-LABlab(43.67, 31.10, -68.05)
CIE-LCHlch(43.67, 74.82, 294.56°)
OKLaboklab(52.62% -0.0084 -0.1964)
OKLCHoklch(52.62% 0.197 267.6)
XYZxyz(18.2226, 13.6138, 67.9834)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CDA #DAB83A
analogous
#3AACDA #3A5CDA #683ADA
triadic
#3A5CDA #DA3A5C #5CDA3A
tetradic
#3A5CDA #DA3AAC #DAB83A #3ADA68
square
#3A5CDA #DA3AAC #DAB83A #3ADA68
split-complementary
#3A5CDA #DA683A #ACDA3A
monochromatic
#182F81 #2241B5 #3A5CDA #6E87E4 #A1B1ED

Accessibility & contrast

On white

5.64
#3A5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3A5CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CDA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CDA#FFFFFF#000000##FFFFFF
##3A5CDA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a5cda;
/* rgb */ color: rgb(58, 92, 218);
/* oklch */ color: oklch(52.6% 0.197 267.6);
Tailwind
colors: {
  custom: {
    50: '#8689e6',
    500: '#3a5cda',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cda;
$custom-light: #8689e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cda",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 227.25,
    "s": 68.376,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.19657,
    "h": 267.6
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#3A5CDA
secondary
#DACB96
accent
#C63DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3A5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

#3A5CDA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva