#2C5DBD#2C5DBD

#2C5DBD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.161 H 262.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2C5DBD
RGBrgb(44, 93, 189)
HSLhsl(220, 62%, 46%)
HSVhsv(220, 77%, 74%)
CMYKcmyk(76.7%, 50.8%, 0%, 25.9%)
CIE-LABlab(41.27, 18.03, -55.26)
CIE-LCHlch(41.27, 58.12, 288.07°)
OKLaboklab(49.99% -0.0223 -0.159)
OKLCHoklch(49.99% 0.161 262)
XYZxyz(14.1351, 12.0367, 49.7126)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DBD #BD8C2C
analogous
#2CA5BD #2C5DBD #432CBD
triadic
#2C5DBD #BD2C5D #5DBD2C
tetradic
#2C5DBD #BD2CA5 #BD8C2C #2CBD43
square
#2C5DBD #BD2CA5 #BD8C2C #2CBD43
split-complementary
#2C5DBD #BD432C #A5BD2C
monochromatic
#152C5A #20458B #2C5DBD #507DD6 #82A2E2

Accessibility & contrast

On white

6.16
#2C5DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2C5DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DBD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DBD#FFFFFF#000000##FFFFFF
##2C5DBD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c5dbd;
/* rgb */ color: rgb(44, 93, 189);
/* oklch */ color: oklch(50.0% 0.161 262.0);
Tailwind
colors: {
  custom: {
    50: '#7a8ad1',
    500: '#2c5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dbd;
$custom-light: #7a8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dbd",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 219.724,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.16053,
    "h": 262
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#2C5DBD
secondary
#CBAF7A
accent
#AE42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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