#2D428D#2D428D

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

Color values

HEX#2D428D
RGBrgb(45, 66, 141)
HSLhsl(227, 52%, 36%)
HSVhsv(227, 68%, 55%)
CMYKcmyk(68.1%, 53.2%, 0%, 44.7%)
CIE-LABlab(30.34, 17.86, -44.20)
CIE-LCHlch(30.34, 47.67, 292.01°)
OKLaboklab(40.61% -0.0034 -0.1269)
OKLCHoklch(40.61% 0.127 268.5)
XYZxyz(7.8365, 6.3767, 26.0120)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D428D #8D782D
analogous
#2D728D #2D428D #482D8D
triadic
#2D428D #8D2D42 #428D2D
tetradic
#2D428D #8D2D72 #8D782D #2D8D48
square
#2D428D #8D2D72 #8D782D #2D8D48
split-complementary
#2D428D #8D482D #728D2D
monochromatic
#0F1730 #1E2C5F #2D428D #3C58BB #667DCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D428D#FFFFFF#000000##FFFFFF
##2D428D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d428d;
/* rgb */ color: rgb(45, 66, 141);
/* oklch */ color: oklch(40.6% 0.127 268.5);
Tailwind
colors: {
  custom: {
    50: '#7176af',
    500: '#2d428d',
    950: '#000000',
  },
}
SCSS
$custom: #2d428d;
$custom-light: #7176af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d428d",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 226.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.12693,
    "h": 268.5
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#2D428D
secondary
#B5A261
accent
#BC4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2D428D

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

Preview Lab → · Contrast checker → · Palette generator →

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