#2C5CB8#2C5CB8

#2C5CB8 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.155 H 261.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2C5CB8
RGBrgb(44, 92, 184)
HSLhsl(219, 61%, 45%)
HSVhsv(219, 76%, 72%)
CMYKcmyk(76.1%, 50%, 0%, 27.8%)
CIE-LABlab(40.65, 16.78, -53.34)
CIE-LCHlch(40.65, 55.92, 287.46°)
OKLaboklab(49.4% -0.0221 -0.1534)
OKLCHoklch(49.4% 0.155 261.8)
XYZxyz(13.5145, 11.6489, 46.8743)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CB8 #B8882C
analogous
#2CA2B8 #2C5CB8 #422CB8
triadic
#2C5CB8 #B82C5C #5CB82C
tetradic
#2C5CB8 #B82CA2 #B8882C #2CB842
square
#2C5CB8 #B82CA2 #B8882C #2CB842
split-complementary
#2C5CB8 #B8422C #A2B82C
monochromatic
#142B55 #204387 #2C5CB8 #4D7BD4 #7EA0E0

Accessibility & contrast

On white

6.31
#2C5CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2C5CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CB8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CB8#FFFFFF#000000##FFFFFF
##2C5CB81.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2567BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5cb8;
/* rgb */ color: rgb(44, 92, 184);
/* oklch */ color: oklch(49.4% 0.155 261.8);
Tailwind
colors: {
  custom: {
    50: '#7989ce',
    500: '#2c5cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cb8;
$custom-light: #7989ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cb8",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 219.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.15495,
    "h": 261.8
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#2C5CB8
secondary
#C9AD77
accent
#AD43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2C5CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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