#3A4FBD#3A4FBD

#3A4FBD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.174 H 270.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#3A4FBD
RGBrgb(58, 79, 189)
HSLhsl(230, 53%, 48%)
HSVhsv(230, 69%, 74%)
CMYKcmyk(69.3%, 58.2%, 0%, 25.9%)
CIE-LABlab(38.14, 28.96, -60.31)
CIE-LCHlch(38.14, 66.91, 295.65°)
OKLaboklab(47.79% 0.0008 -0.1738)
OKLCHoklch(47.79% 0.174 270.2)
XYZxyz(13.7231, 10.1643, 49.3729)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FBD #BDA83A
analogous
#3A90BD #3A4FBD #673ABD
triadic
#3A4FBD #BD3A4F #4FBD3A
tetradic
#3A4FBD #BD3A90 #BDA83A #3ABD67
square
#3A4FBD #BD3A90 #BDA83A #3ABD67
split-complementary
#3A4FBD #BD673A #90BD3A
monochromatic
#1D285F #2C3B8E #3A4FBD #6576D0 #939FDE

Accessibility & contrast

On white

6.92
#3A4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3A4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FBD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FBD#FFFFFF#000000##FFFFFF
##3A4FBD1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4fbd;
/* rgb */ color: rgb(58, 79, 189);
/* oklch */ color: oklch(47.8% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#8080d2',
    500: '#3a4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fbd;
$custom-light: #8080d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fbd",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 230.382,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47785,
    "c": 0.17382,
    "h": 270.2
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#3A4FBD
secondary
#C9BF8A
accent
#C54BDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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