#3B4EAF#3B4EAF

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

Color values

HEX#3B4EAF
RGBrgb(59, 78, 175)
HSLhsl(230, 50%, 46%)
HSVhsv(230, 66%, 69%)
CMYKcmyk(66.3%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.88, 24.73, -54.11)
CIE-LCHlch(36.88, 59.49, 294.56°)
OKLaboklab(46.53% 0.0022 -0.1555)
OKLCHoklch(46.53% 0.156 270.8)
XYZxyz(12.2633, 9.4726, 41.7313)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4EAF #AF9C3B
analogous
#3B88AF #3B4EAF #623BAF
triadic
#3B4EAF #AF3B4E #4EAF3B
tetradic
#3B4EAF #AF3B88 #AF9C3B #3BAF62
square
#3B4EAF #AF3B88 #AF9C3B #3BAF62
split-complementary
#3B4EAF #AF623B #88AF3B
monochromatic
#1C2553 #2C3A81 #3B4EAF #5E70C9 #8C99D8

Accessibility & contrast

On white

7.25
#3B4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3B4EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4EAF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4EAF#FFFFFF#000000##FFFFFF
##3B4EAF1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3b4eaf;
/* rgb */ color: rgb(59, 78, 175);
/* oklch */ color: oklch(46.5% 0.156 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e7fc8',
    500: '#3b4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #3b4eaf;
$custom-light: #7e7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4eaf",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 230.172,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46529,
    "c": 0.15556,
    "h": 270.8
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#3B4EAF
secondary
#C3B883
accent
#C24FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3B4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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