#3A4BAF#3A4BAF

#3A4BAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.160 H 271.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3A4BAF
RGBrgb(58, 75, 175)
HSLhsl(231, 50%, 46%)
HSVhsv(231, 67%, 69%)
CMYKcmyk(66.9%, 57.1%, 0%, 31.4%)
CIE-LABlab(36.03, 26.52, -55.48)
CIE-LCHlch(36.03, 61.49, 295.55°)
OKLaboklab(45.88% 0.0038 -0.1596)
OKLCHoklch(45.88% 0.16 271.4)
XYZxyz(11.9963, 9.0257, 41.6591)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BAF #AF9E3A
analogous
#3A85AF #3A4BAF #633AAF
triadic
#3A4BAF #AF3A4B #4BAF3A
tetradic
#3A4BAF #AF3A85 #AF9E3A #3AAF63
square
#3A4BAF #AF3A85 #AF9E3A #3AAF63
split-complementary
#3A4BAF #AF633A #85AF3A
monochromatic
#1C2453 #2B3781 #3A4BAF #5D6DC9 #8B96D9

Accessibility & contrast

On white

7.49
#3A4BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3A4BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BAF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BAF#FFFFFF#000000##FFFFFF
##3A4BAF1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a4baf;
/* rgb */ color: rgb(58, 75, 175);
/* oklch */ color: oklch(45.9% 0.160 271.4);
Tailwind
colors: {
  custom: {
    50: '#7e7dc8',
    500: '#3a4baf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4baf;
$custom-light: #7e7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4baf",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 231.282,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.15969,
    "h": 271.4
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#3A4BAF
secondary
#C3B982
accent
#C54EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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