#2D428F#2D428F

#2D428F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.130 H 268.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2D428F
RGBrgb(45, 66, 143)
HSLhsl(227, 52%, 37%)
HSVhsv(227, 69%, 56%)
CMYKcmyk(68.5%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.49, 18.62, -45.19)
CIE-LCHlch(30.49, 48.88, 292.39°)
OKLaboklab(40.77% -0.0032 -0.1298)
OKLCHoklch(40.77% 0.13 268.6)
XYZxyz(7.9866, 6.4367, 26.8028)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D428F #8F7A2D
analogous
#2D738F #2D428F #492D8F
triadic
#2D428F #8F2D42 #428F2D
tetradic
#2D428F #8F2D73 #8F7A2D #2D8F49
square
#2D428F #8F2D73 #8F7A2D #2D8F49
split-complementary
#2D428F #8F492D #738F2D
monochromatic
#101732 #1E2D60 #2D428F #3C57BE #677DCF

Accessibility & contrast

On white

9.18
#2D428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D428F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D428F#FFFFFF#000000##FFFFFF
##2D428F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d428f;
/* rgb */ color: rgb(45, 66, 143);
/* oklch */ color: oklch(40.8% 0.130 268.6);
Tailwind
colors: {
  custom: {
    50: '#7276b0',
    500: '#2d428f',
    950: '#000000',
  },
}
SCSS
$custom: #2d428f;
$custom-light: #7276b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d428f",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 227.143,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.12985,
    "h": 268.6
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#2D428F
secondary
#B6A462
accent
#BD4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D428F

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

Preview Lab → · Contrast checker → · Palette generator →

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