#2C5AC0#2C5AC0

#2C5AC0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.168 H 263.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2C5AC0
RGBrgb(44, 90, 192)
HSLhsl(221, 63%, 46%)
HSVhsv(221, 77%, 75%)
CMYKcmyk(77.1%, 53.1%, 0%, 24.7%)
CIE-LABlab(40.66, 21.13, -58.00)
CIE-LCHlch(40.66, 61.73, 290.02°)
OKLaboklab(49.58% -0.0196 -0.1671)
OKLCHoklch(49.58% 0.168 263.3)
XYZxyz(14.2059, 11.6519, 51.3593)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AC0 #C0922C
analogous
#2CA4C0 #2C5AC0 #482CC0
triadic
#2C5AC0 #C02C5A #5AC02C
tetradic
#2C5AC0 #C02CA4 #C0922C #2CC048
square
#2C5AC0 #C02CA4 #C0922C #2CC048
split-complementary
#2C5AC0 #C0482C #A4C02C
monochromatic
#152B5C #21438E #2C5AC0 #527BD7 #84A1E3

Accessibility & contrast

On white

6.30
#2C5AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2C5AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AC0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AC0#FFFFFF#000000##FFFFFF
##2C5AC01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B67C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5ac0;
/* rgb */ color: rgb(44, 90, 192);
/* oklch */ color: oklch(49.6% 0.168 263.3);
Tailwind
colors: {
  custom: {
    50: '#7b88d4',
    500: '#2c5ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ac0;
$custom-light: #7b88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ac0",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 221.351,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.16826,
    "h": 263.3
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#2C5AC0
secondary
#CCB37C
accent
#B342E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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