#2D60B2#2D60B2

#2D60B2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.142 H 259.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2D60B2
RGBrgb(45, 96, 178)
HSLhsl(217, 60%, 44%)
HSVhsv(217, 75%, 70%)
CMYKcmyk(74.7%, 46.1%, 0%, 30.2%)
CIE-LABlab(41.43, 12.02, -48.56)
CIE-LCHlch(41.43, 50.03, 283.90°)
OKLaboklab(49.88% -0.0257 -0.1392)
OKLCHoklch(49.88% 0.142 259.5)
XYZxyz(13.2980, 12.1365, 43.7526)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D60B2 #B27F2D
analogous
#2DA2B2 #2D60B2 #3C2DB2
triadic
#2D60B2 #B22D60 #60B22D
tetradic
#2D60B2 #B22DA2 #B27F2D #2DB23C
square
#2D60B2 #B22DA2 #B27F2D #2DB23C
split-complementary
#2D60B2 #B23C2D #A2B22D
monochromatic
#142B50 #214681 #2D60B2 #4B7ED1 #7CA1DE

Accessibility & contrast

On white

6.13
#2D60B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D60B2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D60B2#FFFFFF#000000##FFFFFF
##2D60B21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d60b2;
/* rgb */ color: rgb(45, 96, 178);
/* oklch */ color: oklch(49.9% 0.142 259.5);
Tailwind
colors: {
  custom: {
    50: '#788cc9',
    500: '#2d60b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d60b2;
$custom-light: #788cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d60b2",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 216.992,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49884,
    "c": 0.14157,
    "h": 259.5
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#2D60B2
secondary
#C6A775
accent
#A645E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D60B2

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

Preview Lab → · Contrast checker → · Palette generator →

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