#3A4DBB#3A4DBB

#3A4DBB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.174 H 270.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3A4DBB
RGBrgb(58, 77, 187)
HSLhsl(231, 53%, 48%)
HSVhsv(231, 69%, 73%)
CMYKcmyk(69%, 58.8%, 0%, 26.7%)
CIE-LABlab(37.47, 29.53, -60.23)
CIE-LCHlch(37.47, 67.08, 296.12°)
OKLaboklab(47.24% 0.0023 -0.1736)
OKLCHoklch(47.24% 0.174 270.8)
XYZxyz(13.3654, 9.7939, 48.1901)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DBB #BBA83A
analogous
#3A8DBB #3A4DBB #683ABB
triadic
#3A4DBB #BB3A4D #4DBB3A
tetradic
#3A4DBB #BB3A8D #BBA83A #3ABB68
square
#3A4DBB #BB3A8D #BBA83A #3ABB68
split-complementary
#3A4DBB #BB683A #8DBB3A
monochromatic
#1D275E #2C3A8C #3A4DBB #6373CF #929DDD

Accessibility & contrast

On white

7.10
#3A4DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3A4DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DBB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DBB#FFFFFF#000000##FFFFFF
##3A4DBB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4dbb;
/* rgb */ color: rgb(58, 77, 187);
/* oklch */ color: oklch(47.2% 0.174 270.8);
Tailwind
colors: {
  custom: {
    50: '#807ed0',
    500: '#3a4dbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dbb;
$custom-light: #807ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dbb",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 231.163,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.1736,
    "h": 270.8
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#3A4DBB
secondary
#C8BF88
accent
#C74CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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