#2C5AC8#2C5AC8

#2C5AC8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.179 H 263.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2C5AC8
RGBrgb(44, 90, 200)
HSLhsl(222, 64%, 48%)
HSVhsv(222, 78%, 78%)
CMYKcmyk(78%, 55%, 0%, 21.6%)
CIE-LABlab(41.24, 24.17, -61.70)
CIE-LCHlch(41.24, 66.26, 291.39°)
OKLaboklab(50.21% -0.019 -0.178)
OKLCHoklch(50.21% 0.179 263.9)
XYZxyz(15.1165, 12.0162, 56.1550)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AC8 #C89A2C
analogous
#2CA8C8 #2C5AC8 #4C2CC8
triadic
#2C5AC8 #C82C5A #5AC82C
tetradic
#2C5AC8 #C82CA8 #C89A2C #2CC84C
square
#2C5AC8 #C82CA8 #C89A2C #2CC84C
split-complementary
#2C5AC8 #C84C2C #A8C82C
monochromatic
#162D64 #214396 #2C5AC8 #577EDA #89A4E5

Accessibility & contrast

On white

6.17
#2C5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2C5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AC8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AC8#FFFFFF#000000##FFFFFF
##2C5AC81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c5ac8;
/* rgb */ color: rgb(44, 90, 200);
/* oklch */ color: oklch(50.2% 0.179 263.9);
Tailwind
colors: {
  custom: {
    50: '#7d88d9',
    500: '#2c5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ac8;
$custom-light: #7d88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ac8",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 222.308,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.17899,
    "h": 263.9
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#2C5AC8
secondary
#CFB881
accent
#B641E7
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2C5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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