#2D4480#2D4480

#2D4480 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.105 H 266.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2D4480
RGBrgb(45, 68, 128)
HSLhsl(223, 48%, 34%)
HSVhsv(223, 65%, 50%)
CMYKcmyk(64.8%, 46.9%, 0%, 49.8%)
CIE-LABlab(30.03, 11.60, -36.65)
CIE-LCHlch(30.03, 38.44, 287.56°)
OKLaboklab(40.09% -0.0072 -0.1046)
OKLCHoklch(40.09% 0.105 266)
XYZxyz(7.0443, 6.2500, 21.2530)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4480 #80692D
analogous
#2D6E80 #2D4480 #402D80
triadic
#2D4480 #802D44 #44802D
tetradic
#2D4480 #802D6E #80692D #2D8040
square
#2D4480 #802D6E #80692D #2D8040
split-complementary
#2D4480 #80402D #6E802D
monochromatic
#0D1425 #1D2C53 #2D4480 #3D5CAD #607DC7

Accessibility & contrast

On white

9.33
#2D4480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4480
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4480#FFFFFF#000000##FFFFFF
##2D44801.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B82
Deuteranopia (green-blind)
#1A437F
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4480;
/* rgb */ color: rgb(45, 68, 128);
/* oklch */ color: oklch(40.1% 0.105 266.0);
Tailwind
colors: {
  custom: {
    50: '#6f77a5',
    500: '#2d4480',
    950: '#000000',
  },
}
SCSS
$custom: #2d4480;
$custom-light: #6f77a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4480",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 223.373,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4009,
    "c": 0.10489,
    "h": 266
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4480

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

Preview Lab → · Contrast checker → · Palette generator →

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