#2A5BC3#2A5BC3

#2A5BC3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.172 H 262.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2A5BC3
RGBrgb(42, 91, 195)
HSLhsl(221, 65%, 46%)
HSVhsv(221, 78%, 76%)
CMYKcmyk(78.5%, 53.3%, 0%, 23.5%)
CIE-LABlab(41.08, 21.40, -59.07)
CIE-LCHlch(41.08, 62.83, 289.92°)
OKLaboklab(49.95% -0.0215 -0.1703)
OKLCHoklch(49.95% 0.172 262.8)
XYZxyz(14.5427, 11.9128, 53.1521)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5BC3 #C3922A
analogous
#2AA8C3 #2A5BC3 #452AC3
triadic
#2A5BC3 #C32A5B #5BC32A
tetradic
#2A5BC3 #C32AA8 #C3922A #2AC345
square
#2A5BC3 #C32AA8 #C3922A #2AC345
split-complementary
#2A5BC3 #C3452A #A8C32A
monochromatic
#142C5E #1F4491 #2A5BC3 #517DD9 #83A2E4

Accessibility & contrast

On white

6.21
#2A5BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2A5BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5BC3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5BC3#FFFFFF#000000##FFFFFF
##2A5BC31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0668C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a5bc3;
/* rgb */ color: rgb(42, 91, 195);
/* oklch */ color: oklch(50.0% 0.172 262.8);
Tailwind
colors: {
  custom: {
    50: '#7b88d6',
    500: '#2a5bc3',
    950: '#000000',
  },
}
SCSS
$custom: #2a5bc3;
$custom-light: #7b88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5bc3",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 220.784,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.17161,
    "h": 262.8
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#2A5BC3
secondary
#CDB37B
accent
#B240E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A5BC3

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

Preview Lab → · Contrast checker → · Palette generator →

#2A5BC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva