#2C5BB3#2C5BB3

#2C5BB3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.149 H 261.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2C5BB3
RGBrgb(44, 91, 179)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 75%, 70%)
CMYKcmyk(75.4%, 49.2%, 0%, 29.8%)
CIE-LABlab(40.03, 15.52, -51.40)
CIE-LCHlch(40.03, 53.70, 286.80°)
OKLaboklab(48.82% -0.022 -0.1477)
OKLCHoklch(48.82% 0.149 261.5)
XYZxyz(12.9135, 11.2709, 44.1340)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BB3 #B3842C
analogous
#2C9EB3 #2C5BB3 #402CB3
triadic
#2C5BB3 #B32C5B #5BB32C
tetradic
#2C5BB3 #B32C9E #B3842C #2CB340
square
#2C5BB3 #B32C9E #B3842C #2CB340
split-complementary
#2C5BB3 #B3402C #9EB32C
monochromatic
#142951 #204282 #2C5BB3 #4A79D2 #7B9EDF

Accessibility & contrast

On white

6.45
#2C5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2C5BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BB3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BB3#FFFFFF#000000##FFFFFF
##2C5BB31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5bb3;
/* rgb */ color: rgb(44, 91, 179);
/* oklch */ color: oklch(48.8% 0.149 261.5);
Tailwind
colors: {
  custom: {
    50: '#7888ca',
    500: '#2c5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bb3;
$custom-light: #7888ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bb3",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 219.111,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.14932,
    "h": 261.5
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#2C5BB3
secondary
#C7AA74
accent
#AC44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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