#2A60B6#2A60B6

#2A60B6 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.148 H 259.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2A60B6
RGBrgb(42, 96, 182)
HSLhsl(217, 63%, 44%)
HSVhsv(217, 77%, 71%)
CMYKcmyk(76.9%, 47.3%, 0%, 28.6%)
CIE-LABlab(41.59, 13.17, -50.67)
CIE-LCHlch(41.59, 52.35, 284.57°)
OKLaboklab(50.06% -0.0271 -0.1454)
OKLCHoklch(50.06% 0.148 259.5)
XYZxyz(13.5781, 12.2338, 45.8926)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A60B6 #B6802A
analogous
#2AA6B6 #2A60B6 #3A2AB6
triadic
#2A60B6 #B62A60 #60B62A
tetradic
#2A60B6 #B62AA6 #B6802A #2AB63A
square
#2A60B6 #B62AA6 #B6802A #2AB63A
split-complementary
#2A60B6 #B63A2A #A6B62A
monochromatic
#132C53 #1F4684 #2A60B6 #487FD5 #7AA2E0

Accessibility & contrast

On white

6.09
#2A60B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2A60B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A60B6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A60B6#FFFFFF#000000##FFFFFF
##2A60B61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169B9
Deuteranopia (green-blind)
#085CB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a60b6;
/* rgb */ color: rgb(42, 96, 182);
/* oklch */ color: oklch(50.1% 0.148 259.5);
Tailwind
colors: {
  custom: {
    50: '#788ccc',
    500: '#2a60b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a60b6;
$custom-light: #788ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a60b6",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 182
  },
  "hsl": {
    "h": 216.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.14795,
    "h": 259.5
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#2A60B6
secondary
#C8A873
accent
#A742E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A60B6

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

Preview Lab → · Contrast checker → · Palette generator →

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