#2C5AC3#2C5AC3

#2C5AC3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.172 H 263.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2C5AC3
RGBrgb(44, 90, 195)
HSLhsl(222, 63%, 47%)
HSVhsv(222, 77%, 76%)
CMYKcmyk(77.4%, 53.8%, 0%, 23.5%)
CIE-LABlab(40.87, 22.27, -59.39)
CIE-LCHlch(40.87, 63.43, 290.56°)
OKLaboklab(49.82% -0.0194 -0.1712)
OKLCHoklch(49.82% 0.172 263.5)
XYZxyz(14.5417, 11.7863, 53.1278)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AC3 #C3952C
analogous
#2CA6C3 #2C5AC3 #4A2CC3
triadic
#2C5AC3 #C32C5A #5AC32C
tetradic
#2C5AC3 #C32CA6 #C3952C #2CC34A
square
#2C5AC3 #C32CA6 #C3952C #2CC34A
split-complementary
#2C5AC3 #C34A2C #A6C32C
monochromatic
#152C5F #214391 #2C5AC3 #547CD8 #86A2E4

Accessibility & contrast

On white

6.25
#2C5AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2C5AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AC3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AC3#FFFFFF#000000##FFFFFF
##2C5AC31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5ac3;
/* rgb */ color: rgb(44, 90, 195);
/* oklch */ color: oklch(49.8% 0.172 263.5);
Tailwind
colors: {
  custom: {
    50: '#7c88d6',
    500: '#2c5ac3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ac3;
$custom-light: #7c88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ac3",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 221.722,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.1723,
    "h": 263.5
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#2C5AC3
secondary
#CDB57E
accent
#B442E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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