#2D4580#2D4580

#2D4580 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.104 H 265.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2D4580
RGBrgb(45, 69, 128)
HSLhsl(223, 48%, 34%)
HSVhsv(223, 65%, 50%)
CMYKcmyk(64.8%, 46.1%, 0%, 49.8%)
CIE-LABlab(30.33, 10.92, -36.17)
CIE-LCHlch(30.33, 37.78, 286.80°)
OKLaboklab(40.32% -0.0083 -0.1032)
OKLCHoklch(40.32% 0.104 265.4)
XYZxyz(7.1052, 6.3720, 21.2734)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4580 #80682D
analogous
#2D6F80 #2D4580 #3F2D80
triadic
#2D4580 #802D45 #45802D
tetradic
#2D4580 #802D6F #80682D #2D803F
square
#2D4580 #802D6F #80682D #2D803F
split-complementary
#2D4580 #803F2D #6F802D
monochromatic
#0D1425 #1D2D53 #2D4580 #3D5DAD #607EC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4580#FFFFFF#000000##FFFFFF
##2D45801.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)
#294B82
Deuteranopia (green-blind)
#1C447F
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4580;
/* rgb */ color: rgb(45, 69, 128);
/* oklch */ color: oklch(40.3% 0.104 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f78a5',
    500: '#2d4580',
    950: '#000000',
  },
}
SCSS
$custom: #2d4580;
$custom-light: #6f78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4580",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 222.651,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40318,
    "c": 0.10357,
    "h": 265.4
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#2D4580
secondary
#AE965B
accent
#B050D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4580

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

Preview Lab → · Contrast checker → · Palette generator →

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