#2D4F7E#2D4F7E

#2D4F7E is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.088 H 256.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2D4F7E
RGBrgb(45, 79, 126)
HSLhsl(215, 47%, 34%)
HSVhsv(215, 64%, 49%)
CMYKcmyk(64.3%, 37.3%, 0%, 50.6%)
CIE-LABlab(33.25, 3.51, -30.28)
CIE-LCHlch(33.25, 30.48, 276.60°)
OKLaboklab(42.54% -0.0201 -0.0858)
OKLCHoklch(42.54% 0.088 256.8)
XYZxyz(7.6427, 7.6555, 20.8095)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F7E #7E5C2D
analogous
#2D777E #2D4F7E #332D7E
triadic
#2D4F7E #7E2D4F #4F7E2D
tetradic
#2D4F7E #7E2D77 #7E5C2D #2D7E33
square
#2D4F7E #7E2D77 #7E5C2D #2D7E33
split-complementary
#2D4F7E #7E332D #777E2D
monochromatic
#0D1624 #1D3351 #2D4F7E #3D6BAB #5F8AC6

Accessibility & contrast

On white

8.30
#2D4F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D4F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F7E
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F7E#FFFFFF#000000##FFFFFF
##2D4F7E1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4f7e;
/* rgb */ color: rgb(45, 79, 126);
/* oklch */ color: oklch(42.5% 0.088 256.8);
Tailwind
colors: {
  custom: {
    50: '#6e80a3',
    500: '#2d4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f7e;
$custom-light: #6e80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f7e",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 214.815,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42541,
    "c": 0.08816,
    "h": 256.8
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#2D4F7E
secondary
#AC8A5A
accent
#9F51D7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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