#2C5EB7#2C5EB7

#2C5EB7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.151 H 260.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2C5EB7
RGBrgb(44, 94, 183)
HSLhsl(218, 61%, 45%)
HSVhsv(218, 76%, 72%)
CMYKcmyk(76%, 48.6%, 0%, 28.2%)
CIE-LABlab(41.15, 15.09, -51.95)
CIE-LCHlch(41.15, 54.10, 286.20°)
OKLaboklab(49.76% -0.0239 -0.1492)
OKLCHoklch(49.76% 0.151 260.9)
XYZxyz(13.5856, 11.9582, 46.3827)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EB7 #B7852C
analogous
#2CA4B7 #2C5EB7 #402CB7
triadic
#2C5EB7 #B72C5E #5EB72C
tetradic
#2C5EB7 #B72CA4 #B7852C #2CB740
square
#2C5EB7 #B72CA4 #B7852C #2CB740
split-complementary
#2C5EB7 #B7402C #A4B72C
monochromatic
#142B54 #204586 #2C5EB7 #4C7DD4 #7EA1E0

Accessibility & contrast

On white

6.19
#2C5EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2C5EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EB7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EB7#FFFFFF#000000##FFFFFF
##2C5EB71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c5eb7;
/* rgb */ color: rgb(44, 94, 183);
/* oklch */ color: oklch(49.8% 0.151 260.9);
Tailwind
colors: {
  custom: {
    50: '#798bcd',
    500: '#2c5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eb7;
$custom-light: #798bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eb7",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 218.417,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49761,
    "c": 0.15114,
    "h": 260.9
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

primary
#2C5EB7
secondary
#C8AB76
accent
#AA43E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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