#2A5CC3#2A5CC3

#2A5CC3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.170 H 262.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2A5CC3
RGBrgb(42, 92, 195)
HSLhsl(220, 65%, 46%)
HSVhsv(220, 78%, 76%)
CMYKcmyk(78.5%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.35, 20.75, -58.62)
CIE-LCHlch(41.35, 62.19, 289.49°)
OKLaboklab(50.16% -0.0222 -0.1689)
OKLCHoklch(50.16% 0.17 262.5)
XYZxyz(14.6288, 12.0850, 53.1808)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5CC3 #C3912A
analogous
#2AA9C3 #2A5CC3 #452AC3
triadic
#2A5CC3 #C32A5C #5CC32A
tetradic
#2A5CC3 #C32AA9 #C3912A #2AC345
square
#2A5CC3 #C32AA9 #C3912A #2AC345
split-complementary
#2A5CC3 #C3452A #A9C32A
monochromatic
#142C5E #1F4491 #2A5CC3 #517DD9 #83A3E4

Accessibility & contrast

On white

6.15
#2A5CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2A5CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5CC3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5CC3#FFFFFF#000000##FFFFFF
##2A5CC31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E69C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a5cc3;
/* rgb */ color: rgb(42, 92, 195);
/* oklch */ color: oklch(50.2% 0.170 262.5);
Tailwind
colors: {
  custom: {
    50: '#7b89d6',
    500: '#2a5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #2a5cc3;
$custom-light: #7b89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5cc3",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 220.392,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.17039,
    "h": 262.5
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#2A5CC3
secondary
#CDB37B
accent
#B140E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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