#2C5CB1#2C5CB1

#2C5CB1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.145 H 260.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2C5CB1
RGBrgb(44, 92, 177)
HSLhsl(218, 60%, 43%)
HSVhsv(218, 75%, 69%)
CMYKcmyk(75.1%, 48%, 0%, 30.6%)
CIE-LABlab(40.18, 14.10, -49.98)
CIE-LCHlch(40.18, 51.94, 285.76°)
OKLaboklab(48.89% -0.0231 -0.1435)
OKLCHoklch(48.89% 0.145 260.8)
XYZxyz(12.7988, 11.3627, 43.1051)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CB1 #B1812C
analogous
#2C9EB1 #2C5CB1 #3E2CB1
triadic
#2C5CB1 #B12C5C #5CB12C
tetradic
#2C5CB1 #B12C9E #B1812C #2CB13E
square
#2C5CB1 #B12C9E #B1812C #2CB13E
split-complementary
#2C5CB1 #B13E2C #9EB12C
monochromatic
#14294F #204380 #2C5CB1 #497AD2 #7A9EDE

Accessibility & contrast

On white

6.42
#2C5CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2C5CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CB1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CB1#FFFFFF#000000##FFFFFF
##2C5CB11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B4
Deuteranopia (green-blind)
#0459AF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5cb1;
/* rgb */ color: rgb(44, 92, 177);
/* oklch */ color: oklch(48.9% 0.145 260.8);
Tailwind
colors: {
  custom: {
    50: '#7889c9',
    500: '#2c5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cb1;
$custom-light: #7889c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cb1",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 218.346,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48894,
    "c": 0.14534,
    "h": 260.8
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#2C5CB1
secondary
#C6A873
accent
#AA44E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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