#2D4E62#2D4E62

#2D4E62 is a dark, muted cyan. Relative luminance 0.069; OKLCH L 40.7% C 0.051 H 236.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2D4E62
RGBrgb(45, 78, 98)
HSLhsl(203, 37%, 28%)
HSVhsv(203, 54%, 38%)
CMYKcmyk(54.1%, 20.4%, 0%, 61.6%)
CIE-LABlab(31.55, -5.76, -15.39)
CIE-LCHlch(31.55, 16.43, 249.49°)
OKLaboklab(40.75% -0.0283 -0.0428)
OKLCHoklch(40.75% 0.051 236.5)
XYZxyz(6.0104, 6.8880, 12.5657)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E62 #62412D
analogous
#2D625B #2D4E62 #2D3362
triadic
#2D4E62 #622D4E #4E622D
tetradic
#2D4E62 #5B2D62 #62412D #33622D
square
#2D4E62 #5B2D62 #62412D #33622D
split-complementary
#2D4E62 #622D33 #625B2D
monochromatic
#0A1115 #1A2D38 #2D4E62 #406F8C #5790B2

Accessibility & contrast

On white

8.83
#2D4E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D4E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E62
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E62#FFFFFF#000000##FFFFFF
##2D4E621.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D63
Deuteranopia (green-blind)
#3D4862
Tritanopia (blue-blind)
#105355
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4e62;
/* rgb */ color: rgb(45, 78, 98);
/* oklch */ color: oklch(40.7% 0.051 236.5);
Tailwind
colors: {
  custom: {
    50: '#6a7f8e',
    500: '#2d4e62',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e62;
$custom-light: #6a7f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e62",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 98
  },
  "hsl": {
    "h": 202.642,
    "s": 37.063,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.05132,
    "h": 236.5
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#2D4E62
secondary
#946E57
accent
#865BCD
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #2D4E62

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

Preview Lab → · Contrast checker → · Palette generator →

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