#2D4384#2D4384

#2D4384 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.112 H 267.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2D4384
RGBrgb(45, 67, 132)
HSLhsl(225, 49%, 35%)
HSVhsv(225, 66%, 52%)
CMYKcmyk(65.9%, 49.2%, 0%, 48.2%)
CIE-LABlab(30.00, 13.78, -39.18)
CIE-LCHlch(30.00, 41.54, 289.38°)
OKLaboklab(40.15% -0.0055 -0.1121)
OKLCHoklch(40.15% 0.112 267.2)
XYZxyz(7.2528, 6.2375, 22.6471)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4384 #846E2D
analogous
#2D6E84 #2D4384 #432D84
triadic
#2D4384 #842D43 #43842D
tetradic
#2D4384 #842D6E #846E2D #2D8443
square
#2D4384 #842D6E #846E2D #2D8443
split-complementary
#2D4384 #84432D #6E842D
monochromatic
#0E1529 #1D2C56 #2D4384 #3D5AB2 #627CC9

Accessibility & contrast

On white

9.34
#2D4384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D4384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4384
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4384#FFFFFF#000000##FFFFFF
##2D43841.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#104383
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4384;
/* rgb */ color: rgb(45, 67, 132);
/* oklch */ color: oklch(40.2% 0.112 267.2);
Tailwind
colors: {
  custom: {
    50: '#7076a8',
    500: '#2d4384',
    950: '#000000',
  },
}
SCSS
$custom: #2d4384;
$custom-light: #7076a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4384",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 224.828,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40152,
    "c": 0.11225,
    "h": 267.2
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#2D4384
secondary
#B09B5D
accent
#B64FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4384

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

Preview Lab → · Contrast checker → · Palette generator →

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