#3B4E9A#3B4E9A

#3B4E9A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.126 H 270.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3B4E9A
RGBrgb(59, 78, 154)
HSLhsl(228, 45%, 42%)
HSVhsv(228, 62%, 60%)
CMYKcmyk(61.7%, 49.4%, 0%, 39.6%)
CIE-LABlab(35.42, 17.19, -43.90)
CIE-LCHlch(35.42, 47.14, 291.38°)
OKLaboklab(44.96% 0.0003 -0.1255)
OKLCHoklch(44.96% 0.126 270.1)
XYZxyz(10.3588, 8.7108, 31.7011)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4E9A #9A873B
analogous
#3B7E9A #3B4E9A #583B9A
triadic
#3B4E9A #9A3B4E #4E9A3B
tetradic
#3B4E9A #9A3B7E #9A873B #3B9A58
square
#3B4E9A #9A3B7E #9A873B #3B9A58
split-complementary
#3B4E9A #9A583B #7E9A3B
monochromatic
#192142 #2A386E #3B4E9A #556ABE #8190CF

Accessibility & contrast

On white

7.66
#3B4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3B4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4E9A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4E9A#FFFFFF#000000##FFFFFF
##3B4E9A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#164F98
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3b4e9a;
/* rgb */ color: rgb(59, 78, 154);
/* oklch */ color: oklch(45.0% 0.126 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a7fb8',
    500: '#3b4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #3b4e9a;
$custom-light: #7a7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4e9a",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 228,
    "s": 44.601,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44964,
    "c": 0.12552,
    "h": 270.1
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#3B4E9A
secondary
#B8AC78
accent
#BB53D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3B4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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