#2D428B#2D428B

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

Color values

HEX#2D428B
RGBrgb(45, 66, 139)
HSLhsl(227, 51%, 36%)
HSVhsv(227, 68%, 55%)
CMYKcmyk(67.6%, 52.5%, 0%, 45.5%)
CIE-LABlab(30.20, 17.11, -43.20)
CIE-LCHlch(30.20, 46.46, 291.60°)
OKLaboklab(40.46% -0.0036 -0.1239)
OKLCHoklch(40.46% 0.124 268.3)
XYZxyz(7.6890, 6.3177, 25.2353)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D428B #8B762D
analogous
#2D718B #2D428B #472D8B
triadic
#2D428B #8B2D42 #428B2D
tetradic
#2D428B #8B2D71 #8B762D #2D8B47
square
#2D428B #8B2D71 #8B762D #2D8B47
split-complementary
#2D428B #8B472D #718B2D
monochromatic
#0F162F #1E2C5D #2D428B #3C58B9 #657CCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D428B#FFFFFF#000000##FFFFFF
##2D428B1.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)
#174C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d428b;
/* rgb */ color: rgb(45, 66, 139);
/* oklch */ color: oklch(40.5% 0.124 268.3);
Tailwind
colors: {
  custom: {
    50: '#7176ad',
    500: '#2d428b',
    950: '#000000',
  },
}
SCSS
$custom: #2d428b;
$custom-light: #7176ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d428b",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 226.596,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40456,
    "c": 0.12399,
    "h": 268.3
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#2D428B
secondary
#B4A160
accent
#BB4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D428B

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

Preview Lab → · Contrast checker → · Palette generator →

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