#2D4F74#2D4F74

#2D4F74 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.074 H 251.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2D4F74
RGBrgb(45, 79, 116)
HSLhsl(211, 44%, 32%)
HSVhsv(211, 61%, 45%)
CMYKcmyk(61.2%, 31.9%, 0%, 54.5%)
CIE-LABlab(32.72, -0.14, -24.90)
CIE-LCHlch(32.72, 24.90, 269.68°)
OKLaboklab(41.95% -0.0231 -0.0702)
OKLCHoklch(41.95% 0.074 251.8)
XYZxyz(7.0294, 7.4102, 17.5795)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F74 #74522D
analogous
#2D7374 #2D4F74 #2F2D74
triadic
#2D4F74 #742D4F #4F742D
tetradic
#2D4F74 #742D73 #74522D #2D742F
square
#2D4F74 #742D73 #74522D #2D742F
split-complementary
#2D4F74 #742F2D #73742D
monochromatic
#0B131C #1C3148 #2D4F74 #3E6DA0 #5C8CC0

Accessibility & contrast

On white

8.46
#2D4F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2D4F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F74
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F74#FFFFFF#000000##FFFFFF
##2D4F741.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4f74;
/* rgb */ color: rgb(45, 79, 116);
/* oklch */ color: oklch(42.0% 0.074 251.8);
Tailwind
colors: {
  custom: {
    50: '#6c809c',
    500: '#2d4f74',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f74;
$custom-light: #6c809c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f74",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 116
  },
  "hsl": {
    "h": 211.268,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.07386,
    "h": 251.8
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#2D4F74
secondary
#A58057
accent
#9754D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D4F74

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

Preview Lab → · Contrast checker → · Palette generator →

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