#2C5AB3#2C5AB3

#2C5AB3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.151 H 261.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2C5AB3
RGBrgb(44, 90, 179)
HSLhsl(220, 61%, 44%)
HSVhsv(220, 75%, 70%)
CMYKcmyk(75.4%, 49.7%, 0%, 29.8%)
CIE-LABlab(39.75, 16.18, -51.86)
CIE-LCHlch(39.75, 54.33, 287.32°)
OKLaboklab(48.6% -0.0212 -0.149)
OKLCHoklch(48.6% 0.151 261.9)
XYZxyz(12.8286, 11.1010, 44.1057)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AB3 #B3852C
analogous
#2C9DB3 #2C5AB3 #422CB3
triadic
#2C5AB3 #B32C5A #5AB32C
tetradic
#2C5AB3 #B32C9D #B3852C #2CB342
square
#2C5AB3 #B32C9D #B3852C #2CB342
split-complementary
#2C5AB3 #B3422C #9DB32C
monochromatic
#142951 #204182 #2C5AB3 #4A78D2 #7B9DDF

Accessibility & contrast

On white

6.52
#2C5AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2C5AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AB3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AB3#FFFFFF#000000##FFFFFF
##2C5AB31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5ab3;
/* rgb */ color: rgb(44, 90, 179);
/* oklch */ color: oklch(48.6% 0.151 261.9);
Tailwind
colors: {
  custom: {
    50: '#7888ca',
    500: '#2c5ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ab3;
$custom-light: #7888ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ab3",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 219.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.15054,
    "h": 261.9
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#2C5AB3
secondary
#C7AB74
accent
#AD44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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