#2E428C#2E428C

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

Color values

HEX#2E428C
RGBrgb(46, 66, 140)
HSLhsl(227, 51%, 36%)
HSVhsv(227, 67%, 55%)
CMYKcmyk(67.1%, 52.9%, 0%, 45.1%)
CIE-LABlab(30.33, 17.66, -43.60)
CIE-LCHlch(30.33, 47.04, 292.05°)
OKLaboklab(40.59% -0.0025 -0.1251)
OKLCHoklch(40.59% 0.125 268.9)
XYZxyz(7.8069, 6.3700, 25.6240)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E428C #8C782E
analogous
#2E718C #2E428C #492E8C
triadic
#2E428C #8C2E42 #428C2E
tetradic
#2E428C #8C2E71 #8C782E #2E8C49
square
#2E428C #8C2E71 #8C782E #2E8C49
split-complementary
#2E428C #8C492E #718C2E
monochromatic
#101730 #1F2C5E #2E428C #3D58BA #677DCD

Accessibility & contrast

On white

9.23
#2E428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E428C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E428C#FFFFFF#000000##FFFFFF
##2E428C1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e428c;
/* rgb */ color: rgb(46, 66, 140);
/* oklch */ color: oklch(40.6% 0.125 268.9);
Tailwind
colors: {
  custom: {
    50: '#7276ae',
    500: '#2e428c',
    950: '#000000',
  },
}
SCSS
$custom: #2e428c;
$custom-light: #7276ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e428c",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 227.234,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4059,
    "c": 0.12514,
    "h": 268.9
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#2E428C
secondary
#B4A262
accent
#BC4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E428C

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

Preview Lab → · Contrast checker → · Palette generator →

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