#2E428B#2E428B

#2E428B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.124 H 268.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2E428B
RGBrgb(46, 66, 139)
HSLhsl(227, 50%, 36%)
HSVhsv(227, 67%, 55%)
CMYKcmyk(66.9%, 52.5%, 0%, 45.5%)
CIE-LABlab(30.26, 17.28, -43.10)
CIE-LCHlch(30.26, 46.44, 291.85°)
OKLaboklab(40.51% -0.0026 -0.1236)
OKLCHoklch(40.51% 0.124 268.8)
XYZxyz(7.7335, 6.3406, 25.2374)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E428B #8B772E
analogous
#2E718B #2E428B #492E8B
triadic
#2E428B #8B2E42 #428B2E
tetradic
#2E428B #8B2E71 #8B772E #2E8B49
square
#2E428B #8B2E71 #8B772E #2E8B49
split-complementary
#2E428B #8B492E #718B2E
monochromatic
#10162F #1F2C5D #2E428B #3D58B9 #677DCD

Accessibility & contrast

On white

9.26
#2E428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E428B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E428B#FFFFFF#000000##FFFFFF
##2E428B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e428b;
/* rgb */ color: rgb(46, 66, 139);
/* oklch */ color: oklch(40.5% 0.124 268.8);
Tailwind
colors: {
  custom: {
    50: '#7176ad',
    500: '#2e428b',
    950: '#000000',
  },
}
SCSS
$custom: #2e428b;
$custom-light: #7176ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e428b",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 227.097,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.12367,
    "h": 268.8
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#2E428B
secondary
#B3A261
accent
#BC4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E428B

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

Preview Lab → · Contrast checker → · Palette generator →

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