#3A5CBC#3A5CBC

#3A5CBC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.156 H 266.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3A5CBC
RGBrgb(58, 92, 188)
HSLhsl(224, 53%, 48%)
HSVhsv(224, 69%, 74%)
CMYKcmyk(69.1%, 51.1%, 0%, 26.3%)
CIE-LABlab(41.51, 20.19, -54.27)
CIE-LCHlch(41.51, 57.90, 290.41°)
OKLaboklab(50.3% -0.0103 -0.1558)
OKLCHoklch(50.3% 0.156 266.2)
XYZxyz(14.6460, 12.1832, 49.1469)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CBC #BC9A3A
analogous
#3A9DBC #3A5CBC #593ABC
triadic
#3A5CBC #BC3A5C #5CBC3A
tetradic
#3A5CBC #BC3A9D #BC9A3A #3ABC59
square
#3A5CBC #BC3A9D #BC9A3A #3ABC59
split-complementary
#3A5CBC #BC593A #9DBC3A
monochromatic
#1D2E5E #2C458D #3A5CBC #6480CF #93A6DE

Accessibility & contrast

On white

6.11
#3A5CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3A5CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CBC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CBC#FFFFFF#000000##FFFFFF
##3A5CBC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5cbc;
/* rgb */ color: rgb(58, 92, 188);
/* oklch */ color: oklch(50.3% 0.156 266.2);
Tailwind
colors: {
  custom: {
    50: '#7f89d1',
    500: '#3a5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cbc;
$custom-light: #7f89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cbc",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 224.308,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.15619,
    "h": 266.2
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#3A5CBC
secondary
#C9B889
accent
#B64CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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