#2D428E#2D428E

#2D428E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.128 H 268.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2D428E
RGBrgb(45, 66, 142)
HSLhsl(227, 52%, 37%)
HSVhsv(227, 68%, 56%)
CMYKcmyk(68.3%, 53.5%, 0%, 44.3%)
CIE-LABlab(30.42, 18.24, -44.69)
CIE-LCHlch(30.42, 48.27, 292.20°)
OKLaboklab(40.69% -0.0033 -0.1283)
OKLCHoklch(40.69% 0.128 268.5)
XYZxyz(7.9112, 6.4066, 26.4056)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D428E #8E792D
analogous
#2D738E #2D428E #492D8E
triadic
#2D428E #8E2D42 #428E2D
tetradic
#2D428E #8E2D73 #8E792D #2D8E49
square
#2D428E #8E2D73 #8E792D #2D8E49
split-complementary
#2D428E #8E492D #738E2D
monochromatic
#101731 #1E2C60 #2D428E #3C58BC #677DCF

Accessibility & contrast

On white

9.20
#2D428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D428E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D428E#FFFFFF#000000##FFFFFF
##2D428E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d428e;
/* rgb */ color: rgb(45, 66, 142);
/* oklch */ color: oklch(40.7% 0.128 268.5);
Tailwind
colors: {
  custom: {
    50: '#7276b0',
    500: '#2d428e',
    950: '#000000',
  },
}
SCSS
$custom: #2d428e;
$custom-light: #7276b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d428e",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 227.01,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40688,
    "c": 0.12839,
    "h": 268.5
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#2D428E
secondary
#B5A361
accent
#BC4CDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2D428E

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

Preview Lab → · Contrast checker → · Palette generator →

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