#2D4F73#2D4F73

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

Color values

HEX#2D4F73
RGBrgb(45, 79, 115)
HSLhsl(211, 44%, 31%)
HSVhsv(211, 61%, 45%)
CMYKcmyk(60.9%, 31.3%, 0%, 54.9%)
CIE-LABlab(32.67, -0.49, -24.35)
CIE-LCHlch(32.67, 24.36, 268.84°)
OKLaboklab(41.89% -0.0234 -0.0686)
OKLCHoklch(41.89% 0.072 251.2)
XYZxyz(6.9716, 7.3870, 17.2748)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F73 #73512D
analogous
#2D7273 #2D4F73 #2E2D73
triadic
#2D4F73 #732D4F #4F732D
tetradic
#2D4F73 #732D72 #73512D #2D732E
square
#2D4F73 #732D72 #73512D #2D732E
split-complementary
#2D4F73 #732E2D #72732D
monochromatic
#0B131B #1C3147 #2D4F73 #3E6D9F #5B8CBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4F73#FFFFFF#000000##FFFFFF
##2D4F731.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)
#405175
Deuteranopia (green-blind)
#374A72
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4f73;
/* rgb */ color: rgb(45, 79, 115);
/* oklch */ color: oklch(41.9% 0.072 251.2);
Tailwind
colors: {
  custom: {
    50: '#6c809b',
    500: '#2d4f73',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f73;
$custom-light: #6c809b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f73",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 115
  },
  "hsl": {
    "h": 210.857,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41894,
    "c": 0.07246,
    "h": 251.2
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#2D4F73
secondary
#A47F57
accent
#9654D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D4F73

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

Preview Lab → · Contrast checker → · Palette generator →

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