#2A60BA#2A60BA

#2A60BA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.153 H 260.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2A60BA
RGBrgb(42, 96, 186)
HSLhsl(218, 63%, 45%)
HSVhsv(218, 77%, 73%)
CMYKcmyk(77.4%, 48.4%, 0%, 27.1%)
CIE-LABlab(41.85, 14.70, -52.58)
CIE-LCHlch(41.85, 54.60, 285.62°)
OKLaboklab(50.34% -0.0264 -0.1511)
OKLCHoklch(50.34% 0.153 260.1)
XYZxyz(13.9974, 12.4015, 48.1009)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A60BA #BA842A
analogous
#2AA8BA #2A60BA #3C2ABA
triadic
#2A60BA #BA2A60 #60BA2A
tetradic
#2A60BA #BA2AA8 #BA842A #2ABA3C
square
#2A60BA #BA2AA8 #BA842A #2ABA3C
split-complementary
#2A60BA #BA3C2A #A8BA2A
monochromatic
#132C56 #1F4688 #2A60BA #4B7FD6 #7DA3E2

Accessibility & contrast

On white

6.03
#2A60BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A60BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A60BA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A60BA#FFFFFF#000000##FFFFFF
##2A60BA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a60ba;
/* rgb */ color: rgb(42, 96, 186);
/* oklch */ color: oklch(50.3% 0.153 260.1);
Tailwind
colors: {
  custom: {
    50: '#798ccf',
    500: '#2a60ba',
    950: '#000000',
  },
}
SCSS
$custom: #2a60ba;
$custom-light: #798ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a60ba",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 217.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.15338,
    "h": 260.1
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#2A60BA
secondary
#CAAA76
accent
#A842E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A60BA

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

Preview Lab → · Contrast checker → · Palette generator →

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