#2C428C#2C428C

#2C428C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.126 H 267.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2C428C
RGBrgb(44, 66, 140)
HSLhsl(226, 52%, 36%)
HSVhsv(226, 69%, 55%)
CMYKcmyk(68.6%, 52.9%, 0%, 45.1%)
CIE-LABlab(30.22, 17.31, -43.79)
CIE-LCHlch(30.22, 47.09, 291.57°)
OKLaboklab(40.48% -0.0045 -0.1257)
OKLCHoklch(40.48% 0.126 267.9)
XYZxyz(7.7189, 6.3246, 25.6198)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C428C #8C762C
analogous
#2C728C #2C428C #462C8C
triadic
#2C428C #8C2C42 #428C2C
tetradic
#2C428C #8C2C72 #8C762C #2C8C46
square
#2C428C #8C2C72 #8C762C #2C8C46
split-complementary
#2C428C #8C462C #728C2C
monochromatic
#0F162F #1D2C5D #2C428C #3B58BB #647CCE

Accessibility & contrast

On white

9.27
#2C428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C428C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C428C#FFFFFF#000000##FFFFFF
##2C428C1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c428c;
/* rgb */ color: rgb(44, 66, 140);
/* oklch */ color: oklch(40.5% 0.126 267.9);
Tailwind
colors: {
  custom: {
    50: '#7176ae',
    500: '#2c428c',
    950: '#000000',
  },
}
SCSS
$custom: #2c428c;
$custom-light: #7176ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c428c",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 226.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40477,
    "c": 0.12578,
    "h": 267.9
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#2C428C
secondary
#B5A15F
accent
#BB4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C428C

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

Preview Lab → · Contrast checker → · Palette generator →

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