#2D60B9#2D60B9

#2D60B9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.151 H 260.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2D60B9
RGBrgb(45, 96, 185)
HSLhsl(218, 61%, 45%)
HSVhsv(218, 76%, 73%)
CMYKcmyk(75.7%, 48.1%, 0%, 27.5%)
CIE-LABlab(41.88, 14.68, -51.94)
CIE-LCHlch(41.88, 53.97, 285.78°)
OKLaboklab(50.38% -0.0245 -0.1491)
OKLCHoklch(50.38% 0.151 260.7)
XYZxyz(14.0189, 12.4248, 47.5489)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D60B9 #B9862D
analogous
#2DA6B9 #2D60B9 #402DB9
triadic
#2D60B9 #B92D60 #60B92D
tetradic
#2D60B9 #B92DA6 #B9862D #2DB940
square
#2D60B9 #B92DA6 #B9862D #2DB940
split-complementary
#2D60B9 #B9402D #A6B92D
monochromatic
#152D57 #214688 #2D60B9 #4F80D4 #80A3E0

Accessibility & contrast

On white

6.03
#2D60B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2D60B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D60B9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D60B9#FFFFFF#000000##FFFFFF
##2D60B91.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABC
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d60b9;
/* rgb */ color: rgb(45, 96, 185);
/* oklch */ color: oklch(50.4% 0.151 260.7);
Tailwind
colors: {
  custom: {
    50: '#7a8ccf',
    500: '#2d60b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d60b9;
$custom-light: #7a8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d60b9",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 185
  },
  "hsl": {
    "h": 218.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.15115,
    "h": 260.7
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#2D60B9
secondary
#C9AC79
accent
#AA44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2D60B9

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

Preview Lab → · Contrast checker → · Palette generator →

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