#2C428F#2C428F

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

Color values

HEX#2C428F
RGBrgb(44, 66, 143)
HSLhsl(227, 53%, 37%)
HSVhsv(227, 69%, 56%)
CMYKcmyk(69.2%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.43, 18.45, -45.28)
CIE-LCHlch(30.43, 48.90, 292.17°)
OKLaboklab(40.71% -0.0042 -0.1301)
OKLCHoklch(40.71% 0.13 268.1)
XYZxyz(7.9431, 6.4143, 26.8008)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C428F #8F792C
analogous
#2C748F #2C428F #482C8F
triadic
#2C428F #8F2C42 #428F2C
tetradic
#2C428F #8F2C74 #8F792C #2C8F48
square
#2C428F #8F2C74 #8F792C #2C8F48
split-complementary
#2C428F #8F482C #748F2C
monochromatic
#0F1731 #1E2C60 #2C428F #3A58BE #667DD0

Accessibility & contrast

On white

9.20
#2C428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C428F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C428F#FFFFFF#000000##FFFFFF
##2C428F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c428f;
/* rgb */ color: rgb(44, 66, 143);
/* oklch */ color: oklch(40.7% 0.130 268.1);
Tailwind
colors: {
  custom: {
    50: '#7176b0',
    500: '#2c428f',
    950: '#000000',
  },
}
SCSS
$custom: #2c428f;
$custom-light: #7176b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c428f",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 226.667,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40711,
    "c": 0.13017,
    "h": 268.1
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#2C428F
secondary
#B6A361
accent
#BC4BDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C428F

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

Preview Lab → · Contrast checker → · Palette generator →

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