#2C5CBD#2C5CBD

#2C5CBD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.162 H 262.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2C5CBD
RGBrgb(44, 92, 189)
HSLhsl(220, 62%, 46%)
HSVhsv(220, 77%, 74%)
CMYKcmyk(76.7%, 51.3%, 0%, 25.9%)
CIE-LABlab(41.00, 18.68, -55.70)
CIE-LCHlch(41.00, 58.75, 288.54°)
OKLaboklab(49.77% -0.0215 -0.1603)
OKLCHoklch(49.77% 0.162 262.4)
XYZxyz(14.0479, 11.8623, 49.6835)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CBD #BD8D2C
analogous
#2CA4BD #2C5CBD #442CBD
triadic
#2C5CBD #BD2C5C #5CBD2C
tetradic
#2C5CBD #BD2CA4 #BD8D2C #2CBD44
square
#2C5CBD #BD2CA4 #BD8D2C #2CBD44
split-complementary
#2C5CBD #BD442C #A4BD2C
monochromatic
#152C5A #20448B #2C5CBD #507CD6 #82A1E2

Accessibility & contrast

On white

6.23
#2C5CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2C5CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CBD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CBD#FFFFFF#000000##FFFFFF
##2C5CBD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C0
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c5cbd;
/* rgb */ color: rgb(44, 92, 189);
/* oklch */ color: oklch(49.8% 0.162 262.4);
Tailwind
colors: {
  custom: {
    50: '#7a89d2',
    500: '#2c5cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cbd;
$custom-light: #7a89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cbd",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 220.138,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.16175,
    "h": 262.4
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#2C5CBD
secondary
#CBB07A
accent
#AF42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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