#2D4582#2D4582

#2D4582 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.107 H 265.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2D4582
RGBrgb(45, 69, 130)
HSLhsl(223, 49%, 34%)
HSVhsv(223, 65%, 51%)
CMYKcmyk(65.4%, 46.9%, 0%, 49%)
CIE-LABlab(30.46, 11.67, -37.21)
CIE-LCHlch(30.46, 39.00, 287.42°)
OKLaboklab(40.46% -0.008 -0.1063)
OKLCHoklch(40.46% 0.107 265.7)
XYZxyz(7.2382, 6.4252, 21.9735)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4582 #826A2D
analogous
#2D7082 #2D4582 #402D82
triadic
#2D4582 #822D45 #45822D
tetradic
#2D4582 #822D70 #826A2D #2D8240
square
#2D4582 #822D70 #826A2D #2D8240
split-complementary
#2D4582 #82402D #70822D
monochromatic
#0E1527 #1D2D55 #2D4582 #3D5DAF #617EC8

Accessibility & contrast

On white

9.19
#2D4582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4582
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4582#FFFFFF#000000##FFFFFF
##2D45821.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#194481
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4582;
/* rgb */ color: rgb(45, 69, 130);
/* oklch */ color: oklch(40.5% 0.107 265.7);
Tailwind
colors: {
  custom: {
    50: '#6f78a7',
    500: '#2d4582',
    950: '#000000',
  },
}
SCSS
$custom: #2d4582;
$custom-light: #6f78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4582",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 223.059,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40459,
    "c": 0.10658,
    "h": 265.7
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#2D4582
secondary
#AF975C
accent
#B250D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4582

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

Preview Lab → · Contrast checker → · Palette generator →

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