#2D4073#2D4073

#2D4073 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.090 H 266.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2D4073
RGBrgb(45, 64, 115)
HSLhsl(224, 44%, 31%)
HSVhsv(224, 61%, 45%)
CMYKcmyk(60.9%, 44.3%, 0%, 54.9%)
CIE-LABlab(28.01, 9.48, -31.71)
CIE-LCHlch(28.01, 33.10, 286.64°)
OKLaboklab(38.27% -0.0051 -0.0902)
OKLCHoklch(38.27% 0.09 266.8)
XYZxyz(6.0090, 5.4620, 16.9539)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4073 #73602D
analogous
#2D6373 #2D4073 #3D2D73
triadic
#2D4073 #732D40 #40732D
tetradic
#2D4073 #732D63 #73602D #2D733D
square
#2D4073 #732D63 #73602D #2D733D
split-complementary
#2D4073 #733D2D #63732D
monochromatic
#0B0F1B #1C2847 #2D4073 #3E589F #5B76BF

Accessibility & contrast

On white

10.04
#2D4073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D4073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4073
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4073#FFFFFF#000000##FFFFFF
##2D40731.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4575
Deuteranopia (green-blind)
#203F72
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4073;
/* rgb */ color: rgb(45, 64, 115);
/* oklch */ color: oklch(38.3% 0.090 266.8);
Tailwind
colors: {
  custom: {
    50: '#6c749b',
    500: '#2d4073',
    950: '#000000',
  },
}
SCSS
$custom: #2d4073;
$custom-light: #6c749b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4073",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 223.714,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.09035,
    "h": 266.8
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#2D4073
secondary
#A49057
accent
#B154D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4073

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

Preview Lab → · Contrast checker → · Palette generator →

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