#2C428D#2C428D

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

Color values

HEX#2C428D
RGBrgb(44, 66, 141)
HSLhsl(226, 52%, 36%)
HSVhsv(226, 69%, 55%)
CMYKcmyk(68.8%, 53.2%, 0%, 44.7%)
CIE-LABlab(30.29, 17.69, -44.29)
CIE-LCHlch(30.29, 47.69, 291.78°)
OKLaboklab(40.56% -0.0044 -0.1272)
OKLCHoklch(40.56% 0.127 268)
XYZxyz(7.7930, 6.3542, 26.0099)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C428D #8D772C
analogous
#2C738D #2C428D #472C8D
triadic
#2C428D #8D2C42 #428D2C
tetradic
#2C428D #8D2C73 #8D772C #2C8D47
square
#2C428D #8D2C73 #8D772C #2C8D47
split-complementary
#2C428D #8D472C #738D2C
monochromatic
#0F1630 #1D2C5E #2C428D #3B58BC #657DCF

Accessibility & contrast

On white

9.25
#2C428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C428D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C428D#FFFFFF#000000##FFFFFF
##2C428D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c428d;
/* rgb */ color: rgb(44, 66, 141);
/* oklch */ color: oklch(40.6% 0.127 268.0);
Tailwind
colors: {
  custom: {
    50: '#7176af',
    500: '#2c428d',
    950: '#000000',
  },
}
SCSS
$custom: #2c428d;
$custom-light: #7176af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c428d",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 226.392,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.12725,
    "h": 268
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C428D

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

Preview Lab → · Contrast checker → · Palette generator →

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