#2D4570#2D4570

#2D4570 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.079 H 261.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2D4570
RGBrgb(45, 69, 112)
HSLhsl(219, 43%, 31%)
HSVhsv(219, 60%, 44%)
CMYKcmyk(59.8%, 38.4%, 0%, 56.1%)
CIE-LABlab(29.37, 4.99, -27.66)
CIE-LCHlch(29.37, 28.11, 280.23°)
OKLaboklab(39.26% -0.0119 -0.0783)
OKLCHoklch(39.26% 0.079 261.3)
XYZxyz(6.1339, 5.9835, 16.1578)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4570 #70582D
analogous
#2D6670 #2D4570 #362D70
triadic
#2D4570 #702D45 #45702D
tetradic
#2D4570 #702D66 #70582D #2D7036
square
#2D4570 #702D66 #70582D #2D7036
split-complementary
#2D4570 #70362D #66702D
monochromatic
#0A0F19 #1B2A44 #2D4570 #3F609C #5A7EBD

Accessibility & contrast

On white

9.56
#2D4570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D4570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4570
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4570#FFFFFF#000000##FFFFFF
##2D45701.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334972
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#004F55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4570;
/* rgb */ color: rgb(45, 69, 112);
/* oklch */ color: oklch(39.3% 0.079 261.3);
Tailwind
colors: {
  custom: {
    50: '#6c7899',
    500: '#2d4570',
    950: '#000000',
  },
}
SCSS
$custom: #2d4570;
$custom-light: #6c7899;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4570",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 112
  },
  "hsl": {
    "h": 218.507,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39264,
    "c": 0.0792,
    "h": 261.3
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#2D4570
secondary
#A28757
accent
#A655D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4570

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

Preview Lab → · Contrast checker → · Palette generator →

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