#2C5EBB#2C5EBB

#2C5EBB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.157 H 261.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2C5EBB
RGBrgb(44, 94, 187)
HSLhsl(219, 62%, 45%)
HSVhsv(219, 76%, 73%)
CMYKcmyk(76.5%, 49.7%, 0%, 26.7%)
CIE-LABlab(41.42, 16.62, -53.86)
CIE-LCHlch(41.42, 56.36, 287.15°)
OKLaboklab(50.05% -0.0233 -0.1548)
OKLCHoklch(50.05% 0.157 261.4)
XYZxyz(14.0078, 12.1271, 48.6066)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EBB #BB892C
analogous
#2CA5BB #2C5EBB #412CBB
triadic
#2C5EBB #BB2C5E #5EBB2C
tetradic
#2C5EBB #BB2CA5 #BB892C #2CBB41
square
#2C5EBB #BB2CA5 #BB892C #2CBB41
split-complementary
#2C5EBB #BB412C #A5BB2C
monochromatic
#152C58 #204589 #2C5EBB #4F7ED6 #80A2E1

Accessibility & contrast

On white

6.13
#2C5EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2C5EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EBB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EBB#FFFFFF#000000##FFFFFF
##2C5EBB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5ebb;
/* rgb */ color: rgb(44, 94, 187);
/* oklch */ color: oklch(50.1% 0.157 261.4);
Tailwind
colors: {
  custom: {
    50: '#7a8bd0',
    500: '#2c5ebb',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ebb;
$custom-light: #7a8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ebb",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 219.021,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.1566,
    "h": 261.4
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#2C5EBB
secondary
#CAAE79
accent
#AC43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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