#2C428E#2C428E

#2C428E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.129 H 268.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2C428E
RGBrgb(44, 66, 142)
HSLhsl(227, 53%, 36%)
HSVhsv(227, 69%, 56%)
CMYKcmyk(69%, 53.5%, 0%, 44.3%)
CIE-LABlab(30.36, 18.07, -44.78)
CIE-LCHlch(30.36, 48.29, 291.98°)
OKLaboklab(40.63% -0.0043 -0.1286)
OKLCHoklch(40.63% 0.129 268.1)
XYZxyz(7.8677, 6.3841, 26.4036)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C428E #8E782C
analogous
#2C738E #2C428E #472C8E
triadic
#2C428E #8E2C42 #428E2C
tetradic
#2C428E #8E2C73 #8E782C #2C8E47
square
#2C428E #8E2C73 #8E782C #2C8E47
split-complementary
#2C428E #8E472C #738E2C
monochromatic
#0F1731 #1E2C5F #2C428E #3A58BD #657DCF

Accessibility & contrast

On white

9.22
#2C428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C428E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C428E#FFFFFF#000000##FFFFFF
##2C428E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c428e;
/* rgb */ color: rgb(44, 66, 142);
/* oklch */ color: oklch(40.6% 0.129 268.1);
Tailwind
colors: {
  custom: {
    50: '#7176b0',
    500: '#2c428e',
    950: '#000000',
  },
}
SCSS
$custom: #2c428e;
$custom-light: #7176b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c428e",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 226.531,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.12871,
    "h": 268.1
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#2C428E
secondary
#B6A260
accent
#BC4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2C428E

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

Preview Lab → · Contrast checker → · Palette generator →

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