#3B4FAC#3B4FAC

#3B4FAC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.150 H 270.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3B4FAC
RGBrgb(59, 79, 172)
HSLhsl(229, 49%, 45%)
HSVhsv(229, 66%, 67%)
CMYKcmyk(65.7%, 54.1%, 0%, 32.5%)
CIE-LABlab(36.93, 23.00, -52.25)
CIE-LCHlch(36.93, 57.08, 293.76°)
OKLaboklab(46.5% 0.0011 -0.1501)
OKLCHoklch(46.5% 0.15 270.4)
XYZxyz(12.0435, 9.4992, 40.2206)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4FAC #AC983B
analogous
#3B87AC #3B4FAC #603BAC
triadic
#3B4FAC #AC3B4F #4FAC3B
tetradic
#3B4FAC #AC3B87 #AC983B #3BAC60
square
#3B4FAC #AC3B87 #AC983B #3BAC60
split-complementary
#3B4FAC #AC603B #87AC3B
monochromatic
#1C2551 #2B3A7E #3B4FAC #5D70C7 #8A98D7

Accessibility & contrast

On white

7.24
#3B4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B4FAC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4FAC#FFFFFF#000000##FFFFFF
##3B4FAC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3b4fac;
/* rgb */ color: rgb(59, 79, 172);
/* oklch */ color: oklch(46.5% 0.150 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d80c5',
    500: '#3b4fac',
    950: '#000000',
  },
}
SCSS
$custom: #3b4fac;
$custom-light: #7d80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4fac",
  "rgb": {
    "r": 59,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 229.381,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.15007,
    "h": 270.4
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#3B4FAC
secondary
#C1B681
accent
#C04FD8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3B4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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