#2D60B5#2D60B5

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

Color values

HEX#2D60B5
RGBrgb(45, 96, 181)
HSLhsl(218, 60%, 44%)
HSVhsv(218, 75%, 71%)
CMYKcmyk(75.1%, 47%, 0%, 29%)
CIE-LABlab(41.62, 13.16, -50.02)
CIE-LCHlch(41.62, 51.72, 284.74°)
OKLaboklab(50.09% -0.0252 -0.1435)
OKLCHoklch(50.09% 0.146 260)
XYZxyz(13.6025, 12.2583, 45.3563)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D60B5 #B5822D
analogous
#2DA4B5 #2D60B5 #3E2DB5
triadic
#2D60B5 #B52D60 #60B52D
tetradic
#2D60B5 #B52DA4 #B5822D #2DB53E
square
#2D60B5 #B52DA4 #B5822D #2DB53E
split-complementary
#2D60B5 #B53E2D #A4B52D
monochromatic
#152C53 #214684 #2D60B5 #4D7FD3 #7EA2DF

Accessibility & contrast

On white

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

On black

3.45
#2D60B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D60B5#FFFFFF#000000##FFFFFF
##2D60B51.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d60b5;
/* rgb */ color: rgb(45, 96, 181);
/* oklch */ color: oklch(50.1% 0.146 260.0);
Tailwind
colors: {
  custom: {
    50: '#798ccc',
    500: '#2d60b5',
    950: '#000000',
  },
}
SCSS
$custom: #2d60b5;
$custom-light: #798ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d60b5",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 181
  },
  "hsl": {
    "h": 217.5,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.14568,
    "h": 260
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#2D60B5
secondary
#C7A976
accent
#A844E3
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D60B5

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

Preview Lab → · Contrast checker → · Palette generator →

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