#2D4E79#2D4E79

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

Color values

HEX#2D4E79
RGBrgb(45, 78, 121)
HSLhsl(214, 46%, 33%)
HSVhsv(214, 63%, 47%)
CMYKcmyk(62.8%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.67, 2.32, -28.10)
CIE-LCHlch(32.67, 28.19, 274.73°)
OKLaboklab(42% -0.0203 -0.0795)
OKLCHoklch(42% 0.082 255.7)
XYZxyz(7.2565, 7.3865, 19.1288)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E79 #79582D
analogous
#2D7479 #2D4E79 #322D79
triadic
#2D4E79 #792D4E #4E792D
tetradic
#2D4E79 #792D74 #79582D #2D7932
square
#2D4E79 #792D74 #79582D #2D7932
split-complementary
#2D4E79 #79322D #74792D
monochromatic
#0C1420 #1C314C #2D4E79 #3E6BA6 #5D8AC3

Accessibility & contrast

On white

8.48
#2D4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4E79
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E79#FFFFFF#000000##FFFFFF
##2D4E791.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#324A78
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4e79;
/* rgb */ color: rgb(45, 78, 121);
/* oklch */ color: oklch(42.0% 0.082 255.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fa0',
    500: '#2d4e79',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e79;
$custom-light: #6d7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e79",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 213.947,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.08204,
    "h": 255.7
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#2D4E79
secondary
#A98658
accent
#9D52D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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