#2A428F#2A428F

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

Color values

HEX#2A428F
RGBrgb(42, 66, 143)
HSLhsl(226, 55%, 36%)
HSVhsv(226, 71%, 56%)
CMYKcmyk(70.6%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.33, 18.13, -45.46)
CIE-LCHlch(30.33, 48.94, 291.75°)
OKLaboklab(40.6% -0.0062 -0.1306)
OKLCHoklch(40.6% 0.131 267.3)
XYZxyz(7.8593, 6.3711, 26.7968)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A428F #8F772A
analogous
#2A758F #2A428F #452A8F
triadic
#2A428F #8F2A42 #428F2A
tetradic
#2A428F #8F2A75 #8F772A #2A8F45
square
#2A428F #8F2A75 #8F772A #2A8F45
split-complementary
#2A428F #8F452A #758F2A
monochromatic
#0E1630 #1C2C60 #2A428F #3858BE #627DD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A428F#FFFFFF#000000##FFFFFF
##2A428F1.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)
#0F4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a428f;
/* rgb */ color: rgb(42, 66, 143);
/* oklch */ color: oklch(40.6% 0.131 267.3);
Tailwind
colors: {
  custom: {
    50: '#7175b0',
    500: '#2a428f',
    950: '#000000',
  },
}
SCSS
$custom: #2a428f;
$custom-light: #7175b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a428f",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 225.743,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.1308,
    "h": 267.3
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#2A428F
secondary
#B7A25E
accent
#BB4ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #2A428F

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

Preview Lab → · Contrast checker → · Palette generator →

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