#2E428D#2E428D

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

Color values

HEX#2E428D
RGBrgb(46, 66, 141)
HSLhsl(227, 51%, 37%)
HSVhsv(227, 67%, 55%)
CMYKcmyk(67.4%, 53.2%, 0%, 44.7%)
CIE-LABlab(30.40, 18.03, -44.10)
CIE-LCHlch(30.40, 47.65, 292.24°)
OKLaboklab(40.67% -0.0024 -0.1266)
OKLCHoklch(40.67% 0.127 268.9)
XYZxyz(7.8810, 6.3996, 26.0141)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E428D #8D792E
analogous
#2E728D #2E428D #4A2E8D
triadic
#2E428D #8D2E42 #428D2E
tetradic
#2E428D #8D2E72 #8D792E #2E8D4A
square
#2E428D #8D2E72 #8D792E #2E8D4A
split-complementary
#2E428D #8D4A2E #728D2E
monochromatic
#101731 #1F2C5F #2E428D #3D58BB #687DCE

Accessibility & contrast

On white

9.21
#2E428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E428D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E428D#FFFFFF#000000##FFFFFF
##2E428D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e428d;
/* rgb */ color: rgb(46, 66, 141);
/* oklch */ color: oklch(40.7% 0.127 268.9);
Tailwind
colors: {
  custom: {
    50: '#7276af',
    500: '#2e428d',
    950: '#000000',
  },
}
SCSS
$custom: #2e428d;
$custom-light: #7276af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e428d",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 227.368,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.12661,
    "h": 268.9
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#2E428D
secondary
#B5A362
accent
#BD4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E428D

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

Preview Lab → · Contrast checker → · Palette generator →

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