#2A60B7#2A60B7

#2A60B7 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.149 H 259.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2A60B7
RGBrgb(42, 96, 183)
HSLhsl(217, 63%, 44%)
HSVhsv(217, 77%, 72%)
CMYKcmyk(77%, 47.5%, 0%, 28.2%)
CIE-LABlab(41.65, 13.55, -51.15)
CIE-LCHlch(41.65, 52.91, 284.84°)
OKLaboklab(50.13% -0.0269 -0.1469)
OKLCHoklch(50.13% 0.149 259.6)
XYZxyz(13.6819, 12.2753, 46.4389)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A60B7 #B7812A
analogous
#2AA7B7 #2A60B7 #3A2AB7
triadic
#2A60B7 #B72A60 #60B72A
tetradic
#2A60B7 #B72AA7 #B7812A #2AB73A
square
#2A60B7 #B72AA7 #B7812A #2AB73A
split-complementary
#2A60B7 #B73A2A #A7B72A
monochromatic
#132C53 #1F4685 #2A60B7 #497FD5 #7BA2E1

Accessibility & contrast

On white

6.08
#2A60B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2A60B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A60B7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A60B7#FFFFFF#000000##FFFFFF
##2A60B71.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3069BA
Deuteranopia (green-blind)
#045CB5
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a60b7;
/* rgb */ color: rgb(42, 96, 183);
/* oklch */ color: oklch(50.1% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#788ccd',
    500: '#2a60b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a60b7;
$custom-light: #788ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a60b7",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 183
  },
  "hsl": {
    "h": 217.021,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.14931,
    "h": 259.6
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A60B7

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

Preview Lab → · Contrast checker → · Palette generator →

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