#2D4584#2D4584

#2D4584 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.110 H 266.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D4584
RGBrgb(45, 69, 132)
HSLhsl(223, 49%, 35%)
HSVhsv(223, 66%, 52%)
CMYKcmyk(65.9%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.59, 12.42, -38.24)
CIE-LCHlch(30.59, 40.21, 288.00°)
OKLaboklab(40.6% -0.0076 -0.1093)
OKLCHoklch(40.6% 0.11 266)
XYZxyz(7.3737, 6.4794, 22.6874)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4584 #846C2D
analogous
#2D7184 #2D4584 #402D84
triadic
#2D4584 #842D45 #45842D
tetradic
#2D4584 #842D71 #846C2D #2D8440
square
#2D4584 #842D71 #846C2D #2D8440
split-complementary
#2D4584 #84402D #71842D
monochromatic
#0E1529 #1D2D56 #2D4584 #3D5DB2 #627EC9

Accessibility & contrast

On white

9.15
#2D4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4584
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4584#FFFFFF#000000##FFFFFF
##2D45841.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4584;
/* rgb */ color: rgb(45, 69, 132);
/* oklch */ color: oklch(40.6% 0.110 266.0);
Tailwind
colors: {
  custom: {
    50: '#6f78a8',
    500: '#2d4584',
    950: '#000000',
  },
}
SCSS
$custom: #2d4584;
$custom-light: #6f78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4584",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 223.448,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.406,
    "c": 0.10958,
    "h": 266
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#2D4584
secondary
#B0995D
accent
#B34FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4584

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

Preview Lab → · Contrast checker → · Palette generator →

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