#2C5FBB#2C5FBB

#2C5FBB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.155 H 261.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2C5FBB
RGBrgb(44, 95, 187)
HSLhsl(219, 62%, 45%)
HSVhsv(219, 76%, 73%)
CMYKcmyk(76.5%, 49.2%, 0%, 26.7%)
CIE-LABlab(41.70, 15.97, -53.40)
CIE-LCHlch(41.70, 55.74, 286.65°)
OKLaboklab(50.27% -0.0241 -0.1535)
OKLCHoklch(50.27% 0.155 261.1)
XYZxyz(14.0973, 12.3061, 48.6364)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FBB #BB882C
analogous
#2CA7BB #2C5FBB #402CBB
triadic
#2C5FBB #BB2C5F #5FBB2C
tetradic
#2C5FBB #BB2CA7 #BB882C #2CBB40
square
#2C5FBB #BB2CA7 #BB882C #2CBB40
split-complementary
#2C5FBB #BB402C #A7BB2C
monochromatic
#152D58 #204689 #2C5FBB #4F7FD6 #80A3E1

Accessibility & contrast

On white

6.07
#2C5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2C5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FBB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FBB#FFFFFF#000000##FFFFFF
##2C5FBB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c5fbb;
/* rgb */ color: rgb(44, 95, 187);
/* oklch */ color: oklch(50.3% 0.155 261.1);
Tailwind
colors: {
  custom: {
    50: '#7a8bd0',
    500: '#2c5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fbb;
$custom-light: #7a8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fbb",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 218.601,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.15538,
    "h": 261.1
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#2C5FBB
secondary
#CAAD79
accent
#AB43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2C5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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