#2C5EAC#2C5EAC

#2C5EAC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.136 H 259.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2C5EAC
RGBrgb(44, 94, 172)
HSLhsl(217, 59%, 42%)
HSVhsv(217, 74%, 67%)
CMYKcmyk(74.4%, 45.3%, 0%, 32.5%)
CIE-LABlab(40.44, 10.89, -46.63)
CIE-LCHlch(40.44, 47.88, 283.15°)
OKLaboklab(48.99% -0.0257 -0.1336)
OKLCHoklch(48.99% 0.136 259.1)
XYZxyz(12.4851, 11.5181, 40.5869)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EAC #AC7A2C
analogous
#2C9EAC #2C5EAC #3A2CAC
triadic
#2C5EAC #AC2C5E #5EAC2C
tetradic
#2C5EAC #AC2C9E #AC7A2C #2CAC3A
square
#2C5EAC #AC2C9E #AC7A2C #2CAC3A
split-complementary
#2C5EAC #AC3A2C #9EAC2C
monochromatic
#13294B #20437B #2C5EAC #467CD0 #769EDC

Accessibility & contrast

On white

6.36
#2C5EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2C5EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EAC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EAC#FFFFFF#000000##FFFFFF
##2C5EAC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666AF
Deuteranopia (green-blind)
#1C5AAA
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5eac;
/* rgb */ color: rgb(44, 94, 172);
/* oklch */ color: oklch(49.0% 0.136 259.1);
Tailwind
colors: {
  custom: {
    50: '#778bc5',
    500: '#2c5eac',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eac;
$custom-light: #778bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eac",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 172
  },
  "hsl": {
    "h": 216.563,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.13603,
    "h": 259.1
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#2C5EAC
secondary
#C4A370
accent
#A545E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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