#2C4DC3#2C4DC3

#2C4DC3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.188 H 266.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2C4DC3
RGBrgb(44, 77, 195)
HSLhsl(227, 63%, 47%)
HSVhsv(227, 77%, 76%)
CMYKcmyk(77.4%, 60.5%, 0%, 23.5%)
CIE-LABlab(37.45, 30.75, -64.97)
CIE-LCHlch(37.45, 71.88, 295.33°)
OKLaboklab(47.24% -0.0105 -0.1878)
OKLCHoklch(47.24% 0.188 266.8)
XYZxyz(13.5395, 9.7818, 52.7937)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DC3 #C3A22C
analogous
#2C99C3 #2C4DC3 #562CC3
triadic
#2C4DC3 #C32C4D #4DC32C
tetradic
#2C4DC3 #C32C99 #C3A22C #2CC356
square
#2C4DC3 #C32C99 #C3A22C #2CC356
split-complementary
#2C4DC3 #C3562C #99C32C
monochromatic
#15265F #213991 #2C4DC3 #5471D8 #869AE4

Accessibility & contrast

On white

7.10
#2C4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2C4DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4DC3
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DC3#FFFFFF#000000##FFFFFF
##2C4DC31.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.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: #2c4dc3;
/* rgb */ color: rgb(44, 77, 195);
/* oklch */ color: oklch(47.2% 0.188 266.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ed6',
    500: '#2c4dc3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4dc3;
$custom-light: #7d7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4dc3",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 226.887,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47244,
    "c": 0.18809,
    "h": 266.8
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#2C4DC3
secondary
#CDBC7E
accent
#C242E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C4DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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