#3A5DBE#3A5DBE

#3A5DBE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.158 H 266.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3A5DBE
RGBrgb(58, 93, 190)
HSLhsl(224, 53%, 49%)
HSVhsv(224, 69%, 75%)
CMYKcmyk(69.5%, 51.1%, 0%, 25.5%)
CIE-LABlab(41.91, 20.27, -54.78)
CIE-LCHlch(41.91, 58.41, 290.31°)
OKLaboklab(50.65% -0.011 -0.1573)
OKLCHoklch(50.65% 0.158 266)
XYZxyz(14.9503, 12.4444, 50.3193)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DBE #BE9B3A
analogous
#3A9FBE #3A5DBE #593ABE
triadic
#3A5DBE #BE3A5D #5DBE3A
tetradic
#3A5DBE #BE3A9F #BE9B3A #3ABE59
square
#3A5DBE #BE3A9F #BE9B3A #3ABE59
split-complementary
#3A5DBE #BE593A #9FBE3A
monochromatic
#1D2F60 #2C468F #3A5DBE #6581D0 #94A8DE

Accessibility & contrast

On white

6.02
#3A5DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3A5DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DBE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DBE#FFFFFF#000000##FFFFFF
##3A5DBE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C1
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5dbe;
/* rgb */ color: rgb(58, 93, 190);
/* oklch */ color: oklch(50.7% 0.158 266.0);
Tailwind
colors: {
  custom: {
    50: '#808ad2',
    500: '#3a5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dbe;
$custom-light: #808ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dbe",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 224.091,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.15771,
    "h": 266
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#3A5DBE
secondary
#CAB98A
accent
#B64BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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