#2C5CB5#2C5CB5

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

Color values

HEX#2C5CB5
RGBrgb(44, 92, 181)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 76%, 71%)
CMYKcmyk(75.7%, 49.2%, 0%, 29%)
CIE-LABlab(40.45, 15.63, -51.91)
CIE-LCHlch(40.45, 54.21, 286.76°)
OKLaboklab(49.18% -0.0225 -0.1491)
OKLCHoklch(49.18% 0.151 261.4)
XYZxyz(13.2033, 11.5245, 45.2357)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CB5 #B5852C
analogous
#2CA1B5 #2C5CB5 #412CB5
triadic
#2C5CB5 #B52C5C #5CB52C
tetradic
#2C5CB5 #B52CA1 #B5852C #2CB541
square
#2C5CB5 #B52CA1 #B5852C #2CB541
split-complementary
#2C5CB5 #B5412C #A1B52C
monochromatic
#142A53 #204384 #2C5CB5 #4B7BD3 #7C9FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5CB5#FFFFFF#000000##FFFFFF
##2C5CB51.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)
#2966B8
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5cb5;
/* rgb */ color: rgb(44, 92, 181);
/* oklch */ color: oklch(49.2% 0.151 261.4);
Tailwind
colors: {
  custom: {
    50: '#7989cc',
    500: '#2c5cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cb5;
$custom-light: #7989cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cb5",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 218.978,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.15083,
    "h": 261.4
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#2C5CB5
secondary
#C8AB75
accent
#AC44E4
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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