#2A428D#2A428D

#2A428D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.128 H 267.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2A428D
RGBrgb(42, 66, 141)
HSLhsl(225, 54%, 36%)
HSVhsv(225, 70%, 55%)
CMYKcmyk(70.2%, 53.2%, 0%, 44.7%)
CIE-LABlab(30.18, 17.37, -44.46)
CIE-LCHlch(30.18, 47.73, 291.33°)
OKLaboklab(40.45% -0.0064 -0.1277)
OKLCHoklch(40.45% 0.128 267.1)
XYZxyz(7.7091, 6.3110, 26.0060)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A428D #8D752A
analogous
#2A738D #2A428D #442A8D
triadic
#2A428D #8D2A42 #428D2A
tetradic
#2A428D #8D2A73 #8D752A #2A8D44
square
#2A428D #8D2A73 #8D752A #2A8D44
split-complementary
#2A428D #8D442A #738D2A
monochromatic
#0E162F #1C2C5E #2A428D #3858BC #617CD0

Accessibility & contrast

On white

9.28
#2A428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A428D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A428D#FFFFFF#000000##FFFFFF
##2A428D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a428d;
/* rgb */ color: rgb(42, 66, 141);
/* oklch */ color: oklch(40.4% 0.128 267.1);
Tailwind
colors: {
  custom: {
    50: '#7075af',
    500: '#2a428d',
    950: '#000000',
  },
}
SCSS
$custom: #2a428d;
$custom-light: #7075af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a428d",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 225.455,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.12789,
    "h": 267.1
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#2A428D
secondary
#B6A05D
accent
#BA4ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A428D

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

Preview Lab → · Contrast checker → · Palette generator →

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