#3B4E9C#3B4E9C

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

Color values

HEX#3B4E9C
RGBrgb(59, 78, 156)
HSLhsl(228, 45%, 42%)
HSVhsv(228, 62%, 61%)
CMYKcmyk(62.2%, 50%, 0%, 38.8%)
CIE-LABlab(35.55, 17.90, -44.89)
CIE-LCHlch(35.55, 48.33, 291.74°)
OKLaboklab(45.11% 0.0006 -0.1284)
OKLCHoklch(45.11% 0.128 270.3)
XYZxyz(10.5268, 8.7780, 32.5856)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4E9C #9C893B
analogous
#3B7F9C #3B4E9C #583B9C
triadic
#3B4E9C #9C3B4E #4E9C3B
tetradic
#3B4E9C #9C3B7F #9C893B #3B9C58
square
#3B4E9C #9C3B7F #9C893B #3B9C58
split-complementary
#3B4E9C #9C583B #7F9C3B
monochromatic
#192243 #2A3870 #3B4E9C #556ABF #8291D0

Accessibility & contrast

On white

7.62
#3B4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B4E9C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4E9C#FFFFFF#000000##FFFFFF
##3B4E9C1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#12509A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3b4e9c;
/* rgb */ color: rgb(59, 78, 156);
/* oklch */ color: oklch(45.1% 0.128 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a7fba',
    500: '#3b4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #3b4e9c;
$custom-light: #7a7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4e9c",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 228.247,
    "s": 45.116,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45106,
    "c": 0.12844,
    "h": 270.3
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#3B4E9C
secondary
#B9AD79
accent
#BB53D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3B4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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