#2C5BBD#2C5BBD

#2C5BBD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.163 H 262.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2C5BBD
RGBrgb(44, 91, 189)
HSLhsl(221, 62%, 46%)
HSVhsv(221, 77%, 74%)
CMYKcmyk(76.7%, 51.9%, 0%, 25.9%)
CIE-LABlab(40.72, 19.34, -56.15)
CIE-LCHlch(40.72, 59.39, 289.00°)
OKLaboklab(49.56% -0.0207 -0.1617)
OKLCHoklch(49.56% 0.163 262.7)
XYZxyz(13.9618, 11.6902, 49.6548)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BBD #BD8E2C
analogous
#2CA3BD #2C5BBD #462CBD
triadic
#2C5BBD #BD2C5B #5BBD2C
tetradic
#2C5BBD #BD2CA3 #BD8E2C #2CBD46
square
#2C5BBD #BD2CA3 #BD8E2C #2CBD46
split-complementary
#2C5BBD #BD462C #A3BD2C
monochromatic
#152B5A #20438B #2C5BBD #507BD6 #82A1E2

Accessibility & contrast

On white

6.29
#2C5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2C5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BBD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BBD#FFFFFF#000000##FFFFFF
##2C5BBD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5bbd;
/* rgb */ color: rgb(44, 91, 189);
/* oklch */ color: oklch(49.6% 0.163 262.7);
Tailwind
colors: {
  custom: {
    50: '#7a88d2',
    500: '#2c5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bbd;
$custom-light: #7a88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bbd",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 220.552,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49563,
    "c": 0.16298,
    "h": 262.7
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#2C5BBD
secondary
#CBB17A
accent
#B142E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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