#3B4E9D#3B4E9D

#3B4E9D is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.130 H 270.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3B4E9D
RGBrgb(59, 78, 157)
HSLhsl(228, 45%, 42%)
HSVhsv(228, 62%, 62%)
CMYKcmyk(62.4%, 50.3%, 0%, 38.4%)
CIE-LABlab(35.62, 18.26, -45.39)
CIE-LCHlch(35.62, 48.92, 291.92°)
OKLaboklab(45.18% 0.0007 -0.1299)
OKLCHoklch(45.18% 0.13 270.3)
XYZxyz(10.6118, 8.8120, 33.0334)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4E9D #9D8A3B
analogous
#3B7F9D #3B4E9D #593B9D
triadic
#3B4E9D #9D3B4E #4E9D3B
tetradic
#3B4E9D #9D3B7F #9D8A3B #3B9D59
square
#3B4E9D #9D3B7F #9D8A3B #3B9D59
split-complementary
#3B4E9D #9D593B #7F9D3B
monochromatic
#1A2244 #2A3871 #3B4E9D #566ABF #8291D0

Accessibility & contrast

On white

7.60
#3B4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3B4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4E9D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4E9D#FFFFFF#000000##FFFFFF
##3B4E9D1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#0F509B
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3b4e9d;
/* rgb */ color: rgb(59, 78, 157);
/* oklch */ color: oklch(45.2% 0.130 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b7fba',
    500: '#3b4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3b4e9d;
$custom-light: #7b7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4e9d",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 228.367,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45178,
    "c": 0.1299,
    "h": 270.3
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#3B4E9D
secondary
#BAAE7A
accent
#BC53D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3B4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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