#2C5DD4#2C5DD4

#2C5DD4 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.191 H 263.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2C5DD4
RGBrgb(44, 93, 212)
HSLhsl(223, 66%, 50%)
HSVhsv(223, 79%, 83%)
CMYKcmyk(79.2%, 56.1%, 0%, 16.9%)
CIE-LABlab(42.94, 26.75, -65.85)
CIE-LCHlch(42.94, 71.07, 292.11°)
OKLaboklab(51.77% -0.0202 -0.1901)
OKLCHoklch(51.77% 0.191 263.9)
XYZxyz(16.8325, 13.1157, 63.9190)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DD4 #D4A32C
analogous
#2CB1D4 #2C5DD4 #4F2CD4
triadic
#2C5DD4 #D42C5D #5DD42C
tetradic
#2C5DD4 #D42CB1 #D4A32C #2CD44F
square
#2C5DD4 #D42CB1 #D4A32C #2CD44F
split-complementary
#2C5DD4 #D44F2C #B1D42C
monochromatic
#17306F #2147A2 #2C5DD4 #5F84DE #92ABE9

Accessibility & contrast

On white

5.80
#2C5DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2C5DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DD4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DD4#FFFFFF#000000##FFFFFF
##2C5DD41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c5dd4;
/* rgb */ color: rgb(44, 93, 212);
/* oklch */ color: oklch(51.8% 0.191 263.9);
Tailwind
colors: {
  custom: {
    50: '#808ae2',
    500: '#2c5dd4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dd4;
$custom-light: #808ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dd4",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 222.5,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.1912,
    "h": 263.9
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#2C5DD4
secondary
#D3BE88
accent
#B73FE9
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B15
muted
#7D7C84

Preview Lab

Preview with #2C5DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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