#2C5CB2#2C5CB2

#2C5CB2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.147 H 261.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2C5CB2
RGBrgb(44, 92, 178)
HSLhsl(219, 60%, 44%)
HSVhsv(219, 75%, 70%)
CMYKcmyk(75.3%, 48.3%, 0%, 30.2%)
CIE-LABlab(40.25, 14.49, -50.47)
CIE-LCHlch(40.25, 52.50, 286.02°)
OKLaboklab(48.97% -0.023 -0.1449)
OKLCHoklch(48.97% 0.147 261)
XYZxyz(12.8988, 11.4027, 43.6320)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CB2 #B2822C
analogous
#2C9FB2 #2C5CB2 #3F2CB2
triadic
#2C5CB2 #B22C5C #5CB22C
tetradic
#2C5CB2 #B22C9F #B2822C #2CB23F
square
#2C5CB2 #B22C9F #B2822C #2CB23F
split-complementary
#2C5CB2 #B23F2C #9FB22C
monochromatic
#142950 #204381 #2C5CB2 #497AD2 #7A9EDE

Accessibility & contrast

On white

6.40
#2C5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2C5CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CB2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CB2#FFFFFF#000000##FFFFFF
##2C5CB21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5cb2;
/* rgb */ color: rgb(44, 92, 178);
/* oklch */ color: oklch(49.0% 0.147 261.0);
Tailwind
colors: {
  custom: {
    50: '#7889ca',
    500: '#2c5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cb2;
$custom-light: #7889ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cb2",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 218.507,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.14671,
    "h": 261
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#2C5CB2
secondary
#C6A973
accent
#AA44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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