#2C4CC3#2C4CC3

#2C4CC3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.189 H 267.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2C4CC3
RGBrgb(44, 76, 195)
HSLhsl(227, 63%, 47%)
HSVhsv(227, 77%, 76%)
CMYKcmyk(77.4%, 61%, 0%, 23.5%)
CIE-LABlab(37.19, 31.40, -65.39)
CIE-LCHlch(37.19, 72.53, 295.65°)
OKLaboklab(47.06% -0.0099 -0.189)
OKLCHoklch(47.06% 0.189 267)
XYZxyz(13.4700, 9.6430, 52.7705)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CC3 #C3A32C
analogous
#2C98C3 #2C4CC3 #582CC3
triadic
#2C4CC3 #C32C4C #4CC32C
tetradic
#2C4CC3 #C32C98 #C3A32C #2CC358
square
#2C4CC3 #C32C98 #C3A32C #2CC358
split-complementary
#2C4CC3 #C3582C #98C32C
monochromatic
#15255F #213991 #2C4CC3 #5470D8 #869AE4

Accessibility & contrast

On white

7.17
#2C4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2C4CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CC3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CC3#FFFFFF#000000##FFFFFF
##2C4CC31.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c4cc3;
/* rgb */ color: rgb(44, 76, 195);
/* oklch */ color: oklch(47.1% 0.189 267.0);
Tailwind
colors: {
  custom: {
    50: '#7d7dd6',
    500: '#2c4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cc3;
$custom-light: #7d7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cc3",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 227.285,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47055,
    "c": 0.18929,
    "h": 267
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#2C4CC3
secondary
#CDBC7E
accent
#C342E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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