#3B54AF#3B54AF

#3B54AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.148 H 268.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3B54AF
RGBrgb(59, 84, 175)
HSLhsl(227, 50%, 46%)
HSVhsv(227, 66%, 69%)
CMYKcmyk(66.3%, 52%, 0%, 31.4%)
CIE-LABlab(38.49, 20.82, -51.50)
CIE-LCHlch(38.49, 55.55, 292.01°)
OKLaboklab(47.74% -0.0034 -0.1478)
OKLCHoklch(47.74% 0.148 268.7)
XYZxyz(12.7092, 10.3644, 41.8799)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B54AF #AF963B
analogous
#3B8EAF #3B54AF #5C3BAF
triadic
#3B54AF #AF3B54 #54AF3B
tetradic
#3B54AF #AF3B8E #AF963B #3BAF5C
square
#3B54AF #AF3B8E #AF963B #3BAF5C
split-complementary
#3B54AF #AF5C3B #8EAF3B
monochromatic
#1C2853 #2C3E81 #3B54AF #5E75C9 #8C9DD8

Accessibility & contrast

On white

6.83
#3B54AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3B54AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B54AF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B54AF#FFFFFF#000000##FFFFFF
##3B54AF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3b54af;
/* rgb */ color: rgb(59, 84, 175);
/* oklch */ color: oklch(47.7% 0.148 268.7);
Tailwind
colors: {
  custom: {
    50: '#7e83c7',
    500: '#3b54af',
    950: '#000000',
  },
}
SCSS
$custom: #3b54af;
$custom-light: #7e83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b54af",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 227.069,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47742,
    "c": 0.14785,
    "h": 268.7
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#3B54AF
secondary
#C3B583
accent
#BB4FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3B54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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