#2A60B9#2A60B9

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

Color values

HEX#2A60B9
RGBrgb(42, 96, 185)
HSLhsl(217, 63%, 45%)
HSVhsv(217, 77%, 73%)
CMYKcmyk(77.3%, 48.1%, 0%, 27.5%)
CIE-LABlab(41.78, 14.32, -52.11)
CIE-LCHlch(41.78, 54.04, 285.36°)
OKLaboklab(50.27% -0.0266 -0.1497)
OKLCHoklch(50.27% 0.152 259.9)
XYZxyz(13.8915, 12.3592, 47.5430)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A60B9 #B9832A
analogous
#2AA8B9 #2A60B9 #3C2AB9
triadic
#2A60B9 #B92A60 #60B92A
tetradic
#2A60B9 #B92AA8 #B9832A #2AB93C
square
#2A60B9 #B92AA8 #B9832A #2AB93C
split-complementary
#2A60B9 #B93C2A #A8B92A
monochromatic
#132C55 #1F4687 #2A60B9 #4A7FD6 #7CA2E1

Accessibility & contrast

On white

6.05
#2A60B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2A60B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A60B9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A60B9#FFFFFF#000000##FFFFFF
##2A60B91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABC
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a60b9;
/* rgb */ color: rgb(42, 96, 185);
/* oklch */ color: oklch(50.3% 0.152 259.9);
Tailwind
colors: {
  custom: {
    50: '#798ccf',
    500: '#2a60b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a60b9;
$custom-light: #798ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a60b9",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 185
  },
  "hsl": {
    "h": 217.343,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.15203,
    "h": 259.9
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A60B9

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

Preview Lab → · Contrast checker → · Palette generator →

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