#2D4380#2D4380

#2D4380 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.106 H 266.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2D4380
RGBrgb(45, 67, 128)
HSLhsl(224, 48%, 34%)
HSVhsv(224, 65%, 50%)
CMYKcmyk(64.8%, 47.7%, 0%, 49.8%)
CIE-LABlab(29.74, 12.28, -37.12)
CIE-LCHlch(29.74, 39.10, 288.30°)
OKLaboklab(39.86% -0.0061 -0.106)
OKLCHoklch(39.86% 0.106 266.7)
XYZxyz(6.9843, 6.1301, 21.2331)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4380 #806A2D
analogous
#2D6D80 #2D4380 #412D80
triadic
#2D4380 #802D43 #43802D
tetradic
#2D4380 #802D6D #806A2D #2D8041
square
#2D4380 #802D6D #806A2D #2D8041
split-complementary
#2D4380 #80412D #6D802D
monochromatic
#0D1425 #1D2B53 #2D4380 #3D5BAD #607CC7

Accessibility & contrast

On white

9.43
#2D4380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D4380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4380
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4380#FFFFFF#000000##FFFFFF
##2D43801.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#17437F
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4380;
/* rgb */ color: rgb(45, 67, 128);
/* oklch */ color: oklch(39.9% 0.106 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f76a5',
    500: '#2d4380',
    950: '#000000',
  },
}
SCSS
$custom: #2d4380;
$custom-light: #6f76a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4380",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 224.096,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.10623,
    "h": 266.7
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#2D4380
secondary
#AE985B
accent
#B450D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4380

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

Preview Lab → · Contrast checker → · Palette generator →

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