#2A60B4#2A60B4

#2A60B4 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.9% C 0.145 H 259.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2A60B4
RGBrgb(42, 96, 180)
HSLhsl(217, 62%, 44%)
HSVhsv(217, 77%, 71%)
CMYKcmyk(76.7%, 46.7%, 0%, 29.4%)
CIE-LABlab(41.46, 12.40, -49.70)
CIE-LCHlch(41.46, 51.23, 284.01°)
OKLaboklab(49.91% -0.0274 -0.1426)
OKLCHoklch(49.91% 0.145 259.1)
XYZxyz(13.3729, 12.1517, 44.8119)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A60B4 #B47E2A
analogous
#2AA5B4 #2A60B4 #392AB4
triadic
#2A60B4 #B42A60 #60B42A
tetradic
#2A60B4 #B42AA5 #B47E2A #2AB439
square
#2A60B4 #B42AA5 #B47E2A #2AB439
split-complementary
#2A60B4 #B4392A #A5B42A
monochromatic
#132B51 #1E4682 #2A60B4 #477ED4 #79A1E0

Accessibility & contrast

On white

6.12
#2A60B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A60B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A60B4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A60B4#FFFFFF#000000##FFFFFF
##2A60B41.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B7
Deuteranopia (green-blind)
#105CB2
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a60b4;
/* rgb */ color: rgb(42, 96, 180);
/* oklch */ color: oklch(49.9% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#788ccb',
    500: '#2a60b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a60b4;
$custom-light: #788ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a60b4",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 180
  },
  "hsl": {
    "h": 216.522,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.14523,
    "h": 259.1
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#2A60B4
secondary
#C8A672
accent
#A643E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A60B4

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

Preview Lab → · Contrast checker → · Palette generator →

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