#3A4FBE#3A4FBE

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

Color values

HEX#3A4FBE
RGBrgb(58, 79, 190)
HSLhsl(230, 53%, 49%)
HSVhsv(230, 69%, 75%)
CMYKcmyk(69.5%, 58.4%, 0%, 25.5%)
CIE-LABlab(38.21, 29.32, -60.77)
CIE-LCHlch(38.21, 67.48, 295.76°)
OKLaboklab(47.87% 0.0008 -0.1752)
OKLCHoklch(47.87% 0.175 270.2)
XYZxyz(13.8320, 10.2079, 49.9466)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FBE #BEA93A
analogous
#3A91BE #3A4FBE #673ABE
triadic
#3A4FBE #BE3A4F #4FBE3A
tetradic
#3A4FBE #BE3A91 #BEA93A #3ABE67
square
#3A4FBE #BE3A91 #BEA93A #3ABE67
split-complementary
#3A4FBE #BE673A #91BE3A
monochromatic
#1D2860 #2C3C8F #3A4FBE #6576D0 #94A0DE

Accessibility & contrast

On white

6.90
#3A4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3A4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FBE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FBE#FFFFFF#000000##FFFFFF
##3A4FBE1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4fbe;
/* rgb */ color: rgb(58, 79, 190);
/* oklch */ color: oklch(47.9% 0.175 270.2);
Tailwind
colors: {
  custom: {
    50: '#8180d2',
    500: '#3a4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fbe;
$custom-light: #8180d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fbe",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 230.455,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47867,
    "c": 0.17517,
    "h": 270.2
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#3A4FBE
secondary
#CAC08A
accent
#C54BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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