#2C5DB4#2C5DB4

#2C5DB4 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.148 H 260.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2C5DB4
RGBrgb(44, 93, 180)
HSLhsl(218, 61%, 44%)
HSVhsv(218, 76%, 71%)
CMYKcmyk(75.6%, 48.3%, 0%, 29.4%)
CIE-LABlab(40.67, 14.60, -50.97)
CIE-LCHlch(40.67, 53.02, 285.98°)
OKLaboklab(49.33% -0.0235 -0.1464)
OKLCHoklch(49.33% 0.148 260.9)
XYZxyz(13.1883, 11.6580, 44.7263)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DB4 #B4832C
analogous
#2CA1B4 #2C5DB4 #3F2CB4
triadic
#2C5DB4 #B42C5D #5DB42C
tetradic
#2C5DB4 #B42CA1 #B4832C #2CB43F
square
#2C5DB4 #B42CA1 #B4832C #2CB43F
split-complementary
#2C5DB4 #B43F2C #A1B42C
monochromatic
#142A52 #204483 #2C5DB4 #4A7CD3 #7C9FDF

Accessibility & contrast

On white

6.30
#2C5DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2C5DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DB4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DB4#FFFFFF#000000##FFFFFF
##2C5DB41.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5db4;
/* rgb */ color: rgb(44, 93, 180);
/* oklch */ color: oklch(49.3% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#788acb',
    500: '#2c5db4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5db4;
$custom-light: #788acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5db4",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 218.382,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.14825,
    "h": 260.9
  },
  "luminance": 0.11659
}

Semantic roles & 50–950 ramp

primary
#2C5DB4
secondary
#C7A975
accent
#AA44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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