#2D4866#2D4866

#2D4866 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.4% C 0.061 H 252.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2D4866
RGBrgb(45, 72, 102)
HSLhsl(212, 39%, 29%)
HSVhsv(212, 56%, 40%)
CMYKcmyk(55.9%, 29.4%, 0%, 60%)
CIE-LABlab(29.79, -0.56, -20.65)
CIE-LCHlch(29.79, 20.66, 268.44°)
OKLaboklab(39.42% -0.0188 -0.0579)
OKLCHoklch(39.42% 0.061 252)
XYZxyz(5.7970, 6.1515, 13.4497)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4866 #664B2D
analogous
#2D6566 #2D4866 #2F2D66
triadic
#2D4866 #662D48 #48662D
tetradic
#2D4866 #662D65 #664B2D #2D662F
square
#2D4866 #662D65 #664B2D #2D662F
split-complementary
#2D4866 #662F2D #65662D
monochromatic
#090F15 #1A2A3C #2D4866 #406690 #5884B5

Accessibility & contrast

On white

9.42
#2D4866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D4866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4866
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4866#FFFFFF#000000##FFFFFF
##2D48661.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4967
Deuteranopia (green-blind)
#354465
Tritanopia (blue-blind)
#0E4F52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4866;
/* rgb */ color: rgb(45, 72, 102);
/* oklch */ color: oklch(39.4% 0.061 252.0);
Tailwind
colors: {
  custom: {
    50: '#6a7a91',
    500: '#2d4866',
    950: '#000000',
  },
}
SCSS
$custom: #2d4866;
$custom-light: #6a7a91;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4866",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 102
  },
  "hsl": {
    "h": 211.579,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.0609,
    "h": 252
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#2D4866
secondary
#987957
accent
#9759CF
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090D
muted
#7A7B7D

Preview Lab

Preview with #2D4866

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

Preview Lab → · Contrast checker → · Palette generator →

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