#2A60C7#2A60C7

#2A60C7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.171 H 261.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2A60C7
RGBrgb(42, 96, 199)
HSLhsl(219, 65%, 47%)
HSVhsv(219, 79%, 78%)
CMYKcmyk(78.9%, 51.8%, 0%, 22%)
CIE-LABlab(42.73, 19.68, -58.70)
CIE-LCHlch(42.73, 61.91, 288.53°)
OKLaboklab(51.3% -0.0247 -0.1691)
OKLCHoklch(51.3% 0.171 261.7)
XYZxyz(15.4428, 12.9797, 55.7132)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A60C7 #C7912A
analogous
#2AAFC7 #2A60C7 #432AC7
triadic
#2A60C7 #C72A60 #60C72A
tetradic
#2A60C7 #C72AAF #C7912A #2AC743
square
#2A60C7 #C72AAF #C7912A #2AC743
split-complementary
#2A60C7 #C7432A #AFC72A
monochromatic
#152F62 #1F4894 #2A60C7 #5382DB #86A7E5

Accessibility & contrast

On white

5.84
#2A60C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2A60C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A60C7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A60C7#FFFFFF#000000##FFFFFF
##2A60C71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196CCB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a60c7;
/* rgb */ color: rgb(42, 96, 199);
/* oklch */ color: oklch(51.3% 0.171 261.7);
Tailwind
colors: {
  custom: {
    50: '#7c8cd9',
    500: '#2a60c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a60c7;
$custom-light: #7c8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a60c7",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 199
  },
  "hsl": {
    "h": 219.363,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.513,
    "c": 0.17089,
    "h": 261.7
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#2A60C7
secondary
#CFB37E
accent
#AE40E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2A60C7

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

Preview Lab → · Contrast checker → · Palette generator →

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