#2C5DB8#2C5DB8

#2C5DB8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.154 H 261.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2C5DB8
RGBrgb(44, 93, 184)
HSLhsl(219, 61%, 45%)
HSVhsv(219, 76%, 72%)
CMYKcmyk(76.1%, 49.5%, 0%, 27.8%)
CIE-LABlab(40.93, 16.13, -52.88)
CIE-LCHlch(40.93, 55.29, 286.96°)
OKLaboklab(49.62% -0.0229 -0.152)
OKLCHoklch(49.62% 0.154 261.4)
XYZxyz(13.6017, 11.8233, 46.9034)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DB8 #B8872C
analogous
#2CA3B8 #2C5DB8 #412CB8
triadic
#2C5DB8 #B82C5D #5DB82C
tetradic
#2C5DB8 #B82CA3 #B8872C #2CB841
square
#2C5DB8 #B82CA3 #B8872C #2CB841
split-complementary
#2C5DB8 #B8412C #A3B82C
monochromatic
#142B55 #204487 #2C5DB8 #4D7CD4 #7EA1E0

Accessibility & contrast

On white

6.24
#2C5DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2C5DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DB8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DB8#FFFFFF#000000##FFFFFF
##2C5DB81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5db8;
/* rgb */ color: rgb(44, 93, 184);
/* oklch */ color: oklch(49.6% 0.154 261.4);
Tailwind
colors: {
  custom: {
    50: '#798ace',
    500: '#2c5db8',
    950: '#000000',
  },
}
SCSS
$custom: #2c5db8;
$custom-light: #798ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5db8",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 219,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.15372,
    "h": 261.4
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#2C5DB8
secondary
#C9AC77
accent
#AC43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2C5DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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