#2C5EBF#2C5EBF

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

Color values

HEX#2C5EBF
RGBrgb(44, 94, 191)
HSLhsl(220, 63%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(77%, 50.8%, 0%, 25.1%)
CIE-LABlab(41.69, 18.14, -55.75)
CIE-LCHlch(41.69, 58.63, 288.03°)
OKLaboklab(50.35% -0.0228 -0.1604)
OKLCHoklch(50.35% 0.162 261.9)
XYZxyz(14.4420, 12.3008, 50.8933)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EBF #BF8D2C
analogous
#2CA7BF #2C5EBF #432CBF
triadic
#2C5EBF #BF2C5E #5EBF2C
tetradic
#2C5EBF #BF2CA7 #BF8D2C #2CBF43
square
#2C5EBF #BF2CA7 #BF8D2C #2CBF43
split-complementary
#2C5EBF #BF432C #A7BF2C
monochromatic
#152D5C #21468D #2C5EBF #517FD7 #83A3E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5EBF#FFFFFF#000000##FFFFFF
##2C5EBF1.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)
#2169C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c5ebf;
/* rgb */ color: rgb(44, 94, 191);
/* oklch */ color: oklch(50.3% 0.162 261.9);
Tailwind
colors: {
  custom: {
    50: '#7b8bd3',
    500: '#2c5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ebf;
$custom-light: #7b8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ebf",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 219.592,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50347,
    "c": 0.16202,
    "h": 261.9
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#2C5EBF
secondary
#CCB07B
accent
#AE42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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