#2D4574#2D4574

#2D4574 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.085 H 262.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2D4574
RGBrgb(45, 69, 116)
HSLhsl(220, 44%, 32%)
HSVhsv(220, 61%, 45%)
CMYKcmyk(61.2%, 40.5%, 0%, 54.5%)
CIE-LABlab(29.60, 6.46, -29.82)
CIE-LCHlch(29.60, 30.51, 282.22°)
OKLaboklab(39.52% -0.0109 -0.0846)
OKLCHoklch(39.52% 0.085 262.7)
XYZxyz(6.3616, 6.0746, 17.3569)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4574 #745C2D
analogous
#2D6974 #2D4574 #392D74
triadic
#2D4574 #742D45 #45742D
tetradic
#2D4574 #742D69 #745C2D #2D7439
square
#2D4574 #742D69 #745C2D #2D7439
split-complementary
#2D4574 #74392D #69742D
monochromatic
#0B111C #1C2B48 #2D4574 #3E5FA0 #5C7EC0

Accessibility & contrast

On white

9.48
#2D4574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D4574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4574
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4574#FFFFFF#000000##FFFFFF
##2D45741.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#284373
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4574;
/* rgb */ color: rgb(45, 69, 116);
/* oklch */ color: oklch(39.5% 0.085 262.7);
Tailwind
colors: {
  custom: {
    50: '#6c789c',
    500: '#2d4574',
    950: '#000000',
  },
}
SCSS
$custom: #2d4574;
$custom-light: #6c789c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4574",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 116
  },
  "hsl": {
    "h": 219.718,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.08532,
    "h": 262.7
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#2D4574
secondary
#A58B57
accent
#A954D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4574

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

Preview Lab → · Contrast checker → · Palette generator →

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