#3A4ABB#3A4ABB

#3A4ABB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.177 H 271.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3A4ABB
RGBrgb(58, 74, 187)
HSLhsl(233, 53%, 48%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(69%, 60.4%, 0%, 26.7%)
CIE-LABlab(36.71, 31.46, -61.46)
CIE-LCHlch(36.71, 69.04, 297.11°)
OKLaboklab(46.68% 0.0047 -0.1772)
OKLCHoklch(46.68% 0.177 271.5)
XYZxyz(13.1603, 9.3837, 48.1218)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ABB #BBAB3A
analogous
#3A8ABB #3A4ABB #6A3ABB
triadic
#3A4ABB #BB3A4A #4ABB3A
tetradic
#3A4ABB #BB3A8A #BBAB3A #3ABB6A
square
#3A4ABB #BB3A8A #BBAB3A #3ABB6A
split-complementary
#3A4ABB #BB6A3A #8ABB3A
monochromatic
#1D255E #2C388C #3A4ABB #6371CF #929BDD

Accessibility & contrast

On white

7.30
#3A4ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A4ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4ABB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ABB#FFFFFF#000000##FFFFFF
##3A4ABB1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4abb;
/* rgb */ color: rgb(58, 74, 187);
/* oklch */ color: oklch(46.7% 0.177 271.5);
Tailwind
colors: {
  custom: {
    50: '#807cd0',
    500: '#3a4abb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4abb;
$custom-light: #807cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4abb",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 232.558,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.17729,
    "h": 271.5
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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