#2C5DB6#2C5DB6

#2C5DB6 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.151 H 261.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2C5DB6
RGBrgb(44, 93, 182)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 76%, 71%)
CMYKcmyk(75.8%, 48.9%, 0%, 28.6%)
CIE-LABlab(40.80, 15.36, -51.93)
CIE-LCHlch(40.80, 54.15, 286.48°)
OKLaboklab(49.47% -0.0232 -0.1492)
OKLCHoklch(49.47% 0.151 261.2)
XYZxyz(13.3935, 11.7401, 45.8071)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DB6 #B6852C
analogous
#2CA2B6 #2C5DB6 #402CB6
triadic
#2C5DB6 #B62C5D #5DB62C
tetradic
#2C5DB6 #B62CA2 #B6852C #2CB640
square
#2C5DB6 #B62CA2 #B6852C #2CB640
split-complementary
#2C5DB6 #B6402C #A2B62C
monochromatic
#142B53 #204485 #2C5DB6 #4C7CD4 #7DA0E0

Accessibility & contrast

On white

6.27
#2C5DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2C5DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DB6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DB6#FFFFFF#000000##FFFFFF
##2C5DB61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67B9
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5db6;
/* rgb */ color: rgb(44, 93, 182);
/* oklch */ color: oklch(49.5% 0.151 261.2);
Tailwind
colors: {
  custom: {
    50: '#798acc',
    500: '#2c5db6',
    950: '#000000',
  },
}
SCSS
$custom: #2c5db6;
$custom-light: #798acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5db6",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 182
  },
  "hsl": {
    "h": 218.696,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.15098,
    "h": 261.2
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#2C5DB6
secondary
#C8AB76
accent
#AB44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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