#2C4299#2C4299

#2C4299 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.145 H 268.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2C4299
RGBrgb(44, 66, 153)
HSLhsl(228, 55%, 39%)
HSVhsv(228, 71%, 60%)
CMYKcmyk(71.2%, 56.9%, 0%, 40%)
CIE-LABlab(31.19, 22.25, -50.17)
CIE-LCHlch(31.19, 54.88, 293.91°)
OKLaboklab(41.52% -0.0035 -0.1445)
OKLCHoklch(41.52% 0.145 268.6)
XYZxyz(8.7347, 6.7309, 30.9697)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4299 #99832C
analogous
#2C7899 #2C4299 #4C2C99
triadic
#2C4299 #992C42 #42992C
tetradic
#2C4299 #992C78 #99832C #2C994C
square
#2C4299 #992C78 #99832C #2C994C
split-complementary
#2C4299 #994C2C #78992C
monochromatic
#11193A #1E2D69 #2C4299 #3B58C7 #6B80D4

Accessibility & contrast

On white

8.95
#2C4299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C4299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4299
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4299#FFFFFF#000000##FFFFFF
##2C42991.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4299;
/* rgb */ color: rgb(44, 66, 153);
/* oklch */ color: oklch(41.5% 0.145 268.6);
Tailwind
colors: {
  custom: {
    50: '#7476b8',
    500: '#2c4299',
    950: '#000000',
  },
}
SCSS
$custom: #2c4299;
$custom-light: #7476b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4299",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 227.89,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.14453,
    "h": 268.6
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#2C4299
secondary
#BBAA66
accent
#C049DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4299

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

Preview Lab → · Contrast checker → · Palette generator →

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