#2C5ABD#2C5ABD

#2C5ABD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.164 H 263.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2C5ABD
RGBrgb(44, 90, 189)
HSLhsl(221, 62%, 46%)
HSVhsv(221, 77%, 74%)
CMYKcmyk(76.7%, 52.4%, 0%, 25.9%)
CIE-LABlab(40.44, 19.99, -56.60)
CIE-LCHlch(40.44, 60.03, 289.45°)
OKLaboklab(49.35% -0.0199 -0.163)
OKLCHoklch(49.35% 0.164 263)
XYZxyz(13.8769, 11.5203, 49.6265)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5ABD #BD8F2C
analogous
#2CA2BD #2C5ABD #472CBD
triadic
#2C5ABD #BD2C5A #5ABD2C
tetradic
#2C5ABD #BD2CA2 #BD8F2C #2CBD47
square
#2C5ABD #BD2CA2 #BD8F2C #2CBD47
split-complementary
#2C5ABD #BD472C #A2BD2C
monochromatic
#152B5A #20428B #2C5ABD #507BD6 #82A0E2

Accessibility & contrast

On white

6.36
#2C5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2C5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5ABD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5ABD#FFFFFF#000000##FFFFFF
##2C5ABD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5abd;
/* rgb */ color: rgb(44, 90, 189);
/* oklch */ color: oklch(49.4% 0.164 263.0);
Tailwind
colors: {
  custom: {
    50: '#7a88d2',
    500: '#2c5abd',
    950: '#000000',
  },
}
SCSS
$custom: #2c5abd;
$custom-light: #7a88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5abd",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 220.966,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49353,
    "c": 0.16421,
    "h": 263
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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