#2A60B5#2A60B5

#2A60B5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.147 H 259.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2A60B5
RGBrgb(42, 96, 181)
HSLhsl(217, 62%, 44%)
HSVhsv(217, 77%, 71%)
CMYKcmyk(76.8%, 47%, 0%, 29%)
CIE-LABlab(41.52, 12.78, -50.19)
CIE-LCHlch(41.52, 51.79, 284.29°)
OKLaboklab(49.99% -0.0272 -0.144)
OKLCHoklch(49.99% 0.147 259.3)
XYZxyz(13.4752, 12.1926, 45.3503)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A60B5 #B57F2A
analogous
#2AA5B5 #2A60B5 #3A2AB5
triadic
#2A60B5 #B52A60 #60B52A
tetradic
#2A60B5 #B52AA5 #B57F2A #2AB53A
square
#2A60B5 #B52AA5 #B57F2A #2AB53A
split-complementary
#2A60B5 #B53A2A #A5B52A
monochromatic
#132B52 #1E4683 #2A60B5 #487ED4 #79A1E0

Accessibility & contrast

On white

6.11
#2A60B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2A60B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A60B5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A60B5#FFFFFF#000000##FFFFFF
##2A60B51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#0C5CB3
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a60b5;
/* rgb */ color: rgb(42, 96, 181);
/* oklch */ color: oklch(50.0% 0.147 259.3);
Tailwind
colors: {
  custom: {
    50: '#788ccc',
    500: '#2a60b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a60b5;
$custom-light: #788ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a60b5",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 181
  },
  "hsl": {
    "h": 216.691,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.14659,
    "h": 259.3
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#2A60B5
secondary
#C8A773
accent
#A642E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A60B5

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

Preview Lab → · Contrast checker → · Palette generator →

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