#2A60BC#2A60BC

#2A60BC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.5% C 0.156 H 260.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2A60BC
RGBrgb(42, 96, 188)
HSLhsl(218, 63%, 45%)
HSVhsv(218, 78%, 74%)
CMYKcmyk(77.7%, 48.9%, 0%, 26.3%)
CIE-LABlab(41.98, 15.47, -53.54)
CIE-LCHlch(41.98, 55.73, 286.11°)
OKLaboklab(50.49% -0.0261 -0.1539)
OKLCHoklch(50.49% 0.156 260.4)
XYZxyz(14.2115, 12.4872, 49.2285)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A60BC #BC862A
analogous
#2AA9BC #2A60BC #3D2ABC
triadic
#2A60BC #BC2A60 #60BC2A
tetradic
#2A60BC #BC2AA9 #BC862A #2ABC3D
square
#2A60BC #BC2AA9 #BC862A #2ABC3D
split-complementary
#2A60BC #BC3D2A #A9BC2A
monochromatic
#142D58 #1F468A #2A60BC #4C80D7 #7EA3E2

Accessibility & contrast

On white

6.00
#2A60BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2A60BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A60BC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A60BC#FFFFFF#000000##FFFFFF
##2A60BC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABF
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a60bc;
/* rgb */ color: rgb(42, 96, 188);
/* oklch */ color: oklch(50.5% 0.156 260.4);
Tailwind
colors: {
  custom: {
    50: '#798cd1',
    500: '#2a60bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a60bc;
$custom-light: #798cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a60bc",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 188
  },
  "hsl": {
    "h": 217.808,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.15609,
    "h": 260.4
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#2A60BC
secondary
#CBAC77
accent
#A941E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2A60BC

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

Preview Lab → · Contrast checker → · Palette generator →

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