#2C5CC9#2C5CC9

#2C5CC9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.178 H 263.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2C5CC9
RGBrgb(44, 92, 201)
HSLhsl(222, 64%, 48%)
HSVhsv(222, 78%, 79%)
CMYKcmyk(78.1%, 54.2%, 0%, 21.2%)
CIE-LABlab(41.85, 23.24, -61.28)
CIE-LCHlch(41.85, 65.54, 290.77°)
OKLaboklab(50.7% -0.0203 -0.1767)
OKLCHoklch(50.7% 0.178 263.5)
XYZxyz(15.4047, 12.4050, 56.8295)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CC9 #C9992C
analogous
#2CAAC9 #2C5CC9 #4A2CC9
triadic
#2C5CC9 #C92C5C #5CC92C
tetradic
#2C5CC9 #C92CAA #C9992C #2CC94A
square
#2C5CC9 #C92CAA #C9992C #2CC94A
split-complementary
#2C5CC9 #C94A2C #AAC92C
monochromatic
#162E65 #214597 #2C5CC9 #5880DA #8AA6E5

Accessibility & contrast

On white

6.03
#2C5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2C5CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CC9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CC9#FFFFFF#000000##FFFFFF
##2C5CC91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c5cc9;
/* rgb */ color: rgb(44, 92, 201);
/* oklch */ color: oklch(50.7% 0.178 263.5);
Tailwind
colors: {
  custom: {
    50: '#7d89da',
    500: '#2c5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cc9;
$custom-light: #7d89da;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cc9",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 221.656,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.17789,
    "h": 263.5
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#2C5CC9
secondary
#CFB782
accent
#B441E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2C5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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