#2E428F#2E428F

#2E428F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.130 H 269.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2E428F
RGBrgb(46, 66, 143)
HSLhsl(228, 51%, 37%)
HSVhsv(228, 68%, 56%)
CMYKcmyk(67.8%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.54, 18.79, -45.10)
CIE-LCHlch(30.54, 48.86, 292.62°)
OKLaboklab(40.82% -0.0022 -0.1295)
OKLCHoklch(40.82% 0.13 269)
XYZxyz(8.0312, 6.4597, 26.8049)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E428F #8F7B2E
analogous
#2E738F #2E428F #4B2E8F
triadic
#2E428F #8F2E42 #428F2E
tetradic
#2E428F #8F2E73 #8F7B2E #2E8F4B
square
#2E428F #8F2E73 #8F7B2E #2E8F4B
split-complementary
#2E428F #8F4B2E #738F2E
monochromatic
#101732 #1F2D61 #2E428F #3D57BD #697ECF

Accessibility & contrast

On white

9.16
#2E428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E428F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E428F#FFFFFF#000000##FFFFFF
##2E428F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e428f;
/* rgb */ color: rgb(46, 66, 143);
/* oklch */ color: oklch(40.8% 0.130 269.0);
Tailwind
colors: {
  custom: {
    50: '#7276b0',
    500: '#2e428f',
    950: '#000000',
  },
}
SCSS
$custom: #2e428f;
$custom-light: #7276b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e428f",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 227.629,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.12954,
    "h": 269
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#2E428F
secondary
#B6A563
accent
#BE4DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E428F

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

Preview Lab → · Contrast checker → · Palette generator →

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