#2D4583#2D4583

#2D4583 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.108 H 265.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2D4583
RGBrgb(45, 69, 131)
HSLhsl(223, 49%, 35%)
HSVhsv(223, 66%, 51%)
CMYKcmyk(65.6%, 47.3%, 0%, 48.6%)
CIE-LABlab(30.53, 12.05, -37.72)
CIE-LCHlch(30.53, 39.60, 287.71°)
OKLaboklab(40.53% -0.0078 -0.1078)
OKLCHoklch(40.53% 0.108 265.9)
XYZxyz(7.3056, 6.4522, 22.3287)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4583 #836B2D
analogous
#2D7083 #2D4583 #402D83
triadic
#2D4583 #832D45 #45832D
tetradic
#2D4583 #832D70 #836B2D #2D8340
square
#2D4583 #832D70 #836B2D #2D8340
split-complementary
#2D4583 #83402D #70832D
monochromatic
#0E1528 #1D2D55 #2D4583 #3D5DB1 #627EC9

Accessibility & contrast

On white

9.17
#2D4583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4583
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4583#FFFFFF#000000##FFFFFF
##2D45831.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#184482
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4583;
/* rgb */ color: rgb(45, 69, 131);
/* oklch */ color: oklch(40.5% 0.108 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f78a7',
    500: '#2d4583',
    950: '#000000',
  },
}
SCSS
$custom: #2d4583;
$custom-light: #6f78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4583",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 223.256,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.10808,
    "h": 265.9
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#2D4583
secondary
#AF985C
accent
#B24FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4583

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

Preview Lab → · Contrast checker → · Palette generator →

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