#2D60B6#2D60B6

#2D60B6 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.147 H 260.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2D60B6
RGBrgb(45, 96, 182)
HSLhsl(218, 60%, 45%)
HSVhsv(218, 75%, 71%)
CMYKcmyk(75.3%, 47.3%, 0%, 28.6%)
CIE-LABlab(41.69, 13.54, -50.50)
CIE-LCHlch(41.69, 52.28, 285.01°)
OKLaboklab(50.16% -0.025 -0.1449)
OKLCHoklch(50.16% 0.147 260.2)
XYZxyz(13.7055, 12.2995, 45.8986)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D60B6 #B6832D
analogous
#2DA5B6 #2D60B6 #3F2DB6
triadic
#2D60B6 #B62D60 #60B62D
tetradic
#2D60B6 #B62DA5 #B6832D #2DB63F
square
#2D60B6 #B62DA5 #B6832D #2DB63F
split-complementary
#2D60B6 #B63F2D #A5B62D
monochromatic
#152C54 #214685 #2D60B6 #4D7FD3 #7EA2DF

Accessibility & contrast

On white

6.07
#2D60B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D60B6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D60B6#FFFFFF#000000##FFFFFF
##2D60B61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d60b6;
/* rgb */ color: rgb(45, 96, 182);
/* oklch */ color: oklch(50.2% 0.147 260.2);
Tailwind
colors: {
  custom: {
    50: '#798ccc',
    500: '#2d60b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d60b6;
$custom-light: #798ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d60b6",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 182
  },
  "hsl": {
    "h": 217.664,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.14705,
    "h": 260.2
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#2D60B6
secondary
#C8AA77
accent
#A844E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D60B6

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

Preview Lab → · Contrast checker → · Palette generator →

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