#2C5CB4#2C5CB4

#2C5CB4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.149 H 261.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2C5CB4
RGBrgb(44, 92, 180)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 76%, 71%)
CMYKcmyk(75.6%, 48.9%, 0%, 29.4%)
CIE-LABlab(40.38, 15.25, -51.43)
CIE-LCHlch(40.38, 53.64, 286.52°)
OKLaboklab(49.11% -0.0227 -0.1477)
OKLCHoklch(49.11% 0.149 261.3)
XYZxyz(13.1011, 11.4836, 44.6973)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CB4 #B4842C
analogous
#2CA0B4 #2C5CB4 #402CB4
triadic
#2C5CB4 #B42C5C #5CB42C
tetradic
#2C5CB4 #B42CA0 #B4842C #2CB440
square
#2C5CB4 #B42CA0 #B4842C #2CB440
split-complementary
#2C5CB4 #B4402C #A0B42C
monochromatic
#142A52 #204383 #2C5CB4 #4A7BD3 #7C9FDF

Accessibility & contrast

On white

6.37
#2C5CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C5CB4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CB4#FFFFFF#000000##FFFFFF
##2C5CB41.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5cb4;
/* rgb */ color: rgb(44, 92, 180);
/* oklch */ color: oklch(49.1% 0.149 261.3);
Tailwind
colors: {
  custom: {
    50: '#7889cb',
    500: '#2c5cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cb4;
$custom-light: #7889cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cb4",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 218.824,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.14946,
    "h": 261.3
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#2C5CB4
secondary
#C7AA75
accent
#AB44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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