#3A5FBC#3A5FBC

#3A5FBC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.152 H 265.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3A5FBC
RGBrgb(58, 95, 188)
HSLhsl(223, 53%, 48%)
HSVhsv(223, 69%, 74%)
CMYKcmyk(69.1%, 49.5%, 0%, 26.3%)
CIE-LABlab(42.33, 18.25, -52.94)
CIE-LCHlch(42.33, 56.00, 289.02°)
OKLaboklab(50.93% -0.013 -0.1519)
OKLCHoklch(50.93% 0.152 265.1)
XYZxyz(14.9111, 12.7133, 49.2353)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FBC #BC973A
analogous
#3AA0BC #3A5FBC #563ABC
triadic
#3A5FBC #BC3A5F #5FBC3A
tetradic
#3A5FBC #BC3AA0 #BC973A #3ABC56
square
#3A5FBC #BC3AA0 #BC973A #3ABC56
split-complementary
#3A5FBC #BC563A #A0BC3A
monochromatic
#1D305E #2C478D #3A5FBC #6483CF #93A8DE

Accessibility & contrast

On white

5.93
#3A5FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3A5FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FBC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FBC#FFFFFF#000000##FFFFFF
##3A5FBC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5fbc;
/* rgb */ color: rgb(58, 95, 188);
/* oklch */ color: oklch(50.9% 0.152 265.1);
Tailwind
colors: {
  custom: {
    50: '#7f8bd1',
    500: '#3a5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fbc;
$custom-light: #7f8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fbc",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 222.923,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50925,
    "c": 0.15246,
    "h": 265.1
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#3A5FBC
secondary
#C9B789
accent
#B34CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3A5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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