#2D4E78#2D4E78

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

Color values

HEX#2D4E78
RGBrgb(45, 78, 120)
HSLhsl(214, 45%, 32%)
HSVhsv(214, 63%, 47%)
CMYKcmyk(62.5%, 35%, 0%, 52.9%)
CIE-LABlab(32.62, 1.96, -27.56)
CIE-LCHlch(32.62, 27.63, 274.06°)
OKLaboklab(41.94% -0.0206 -0.0779)
OKLCHoklch(41.94% 0.081 255.2)
XYZxyz(7.1955, 7.3621, 18.8075)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E78 #78572D
analogous
#2D7478 #2D4E78 #312D78
triadic
#2D4E78 #782D4E #4E782D
tetradic
#2D4E78 #782D74 #78572D #2D7831
square
#2D4E78 #782D74 #78572D #2D7831
split-complementary
#2D4E78 #78312D #74782D
monochromatic
#0C141F #1C314B #2D4E78 #3E6BA5 #5D8AC2

Accessibility & contrast

On white

8.49
#2D4E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2D4E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E78
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E78#FFFFFF#000000##FFFFFF
##2D4E781.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4e78;
/* rgb */ color: rgb(45, 78, 120);
/* oklch */ color: oklch(41.9% 0.081 255.2);
Tailwind
colors: {
  custom: {
    50: '#6d7f9f',
    500: '#2d4e78',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e78;
$custom-light: #6d7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e78",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 213.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41937,
    "c": 0.08059,
    "h": 255.2
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#2D4E78
secondary
#A98558
accent
#9C53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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