#2C5DB1#2C5DB1

#2C5DB1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.144 H 260.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2C5DB1
RGBrgb(44, 93, 177)
HSLhsl(218, 60%, 43%)
HSVhsv(218, 75%, 69%)
CMYKcmyk(75.1%, 47.5%, 0%, 30.6%)
CIE-LABlab(40.47, 13.45, -49.52)
CIE-LCHlch(40.47, 51.32, 285.20°)
OKLaboklab(49.11% -0.024 -0.1421)
OKLCHoklch(49.11% 0.144 260.4)
XYZxyz(12.8860, 11.5371, 43.1342)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DB1 #B1802C
analogous
#2C9FB1 #2C5DB1 #3E2CB1
triadic
#2C5DB1 #B12C5D #5DB12C
tetradic
#2C5DB1 #B12C9F #B1802C #2CB13E
square
#2C5DB1 #B12C9F #B1802C #2CB13E
split-complementary
#2C5DB1 #B13E2C #9FB12C
monochromatic
#14294F #204380 #2C5DB1 #497BD2 #7A9FDE

Accessibility & contrast

On white

6.35
#2C5DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2C5DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DB1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DB1#FFFFFF#000000##FFFFFF
##2C5DB11.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B4
Deuteranopia (green-blind)
#0B5AAF
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5db1;
/* rgb */ color: rgb(44, 93, 177);
/* oklch */ color: oklch(49.1% 0.144 260.4);
Tailwind
colors: {
  custom: {
    50: '#788ac9',
    500: '#2c5db1',
    950: '#000000',
  },
}
SCSS
$custom: #2c5db1;
$custom-light: #788ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5db1",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 217.895,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.14412,
    "h": 260.4
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#2C5DB1
secondary
#C6A773
accent
#A944E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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