#3A4BBB#3A4BBB

#3A4BBB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.176 H 271.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3A4BBB
RGBrgb(58, 75, 187)
HSLhsl(232, 53%, 48%)
HSVhsv(232, 69%, 73%)
CMYKcmyk(69%, 59.9%, 0%, 26.7%)
CIE-LABlab(36.96, 30.82, -61.05)
CIE-LCHlch(36.96, 68.39, 296.78°)
OKLaboklab(46.87% 0.0039 -0.176)
OKLCHoklch(46.87% 0.176 271.3)
XYZxyz(13.2276, 9.5183, 48.1442)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BBB #BBAA3A
analogous
#3A8BBB #3A4BBB #693ABB
triadic
#3A4BBB #BB3A4B #4BBB3A
tetradic
#3A4BBB #BB3A8B #BBAA3A #3ABB69
square
#3A4BBB #BB3A8B #BBAA3A #3ABB69
split-complementary
#3A4BBB #BB693A #8BBB3A
monochromatic
#1D265E #2C388C #3A4BBB #6372CF #929CDD

Accessibility & contrast

On white

7.23
#3A4BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A4BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BBB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BBB#FFFFFF#000000##FFFFFF
##3A4BBB1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4bbb;
/* rgb */ color: rgb(58, 75, 187);
/* oklch */ color: oklch(46.9% 0.176 271.3);
Tailwind
colors: {
  custom: {
    50: '#807dd0',
    500: '#3a4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bbb;
$custom-light: #807dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bbb",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 232.093,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.17606,
    "h": 271.3
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#3A4BBB
secondary
#C8C088
accent
#C94CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3A4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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