#2D5478#2D5478

#2D5478 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.4% C 0.075 H 248.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2D5478
RGBrgb(45, 84, 120)
HSLhsl(209, 45%, 32%)
HSVhsv(209, 63%, 47%)
CMYKcmyk(62.5%, 30%, 0%, 52.9%)
CIE-LABlab(34.51, -1.90, -24.60)
CIE-LCHlch(34.51, 24.67, 265.58°)
OKLaboklab(43.42% -0.0278 -0.0693)
OKLCHoklch(43.42% 0.075 248.1)
XYZxyz(7.6414, 8.2539, 18.9561)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5478 #78512D
analogous
#2D7877 #2D5478 #2D2E78
triadic
#2D5478 #782D54 #54782D
tetradic
#2D5478 #772D78 #78512D #2E782D
square
#2D5478 #772D78 #78512D #2E782D
split-complementary
#2D5478 #782D2E #78772D
monochromatic
#0C161F #1C354B #2D5478 #3E73A5 #5D92C2

Accessibility & contrast

On white

7.92
#2D5478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D5478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5478
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5478#FFFFFF#000000##FFFFFF
##2D54781.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45557A
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5478;
/* rgb */ color: rgb(45, 84, 120);
/* oklch */ color: oklch(43.4% 0.075 248.1);
Tailwind
colors: {
  custom: {
    50: '#6d839f',
    500: '#2d5478',
    950: '#000000',
  },
}
SCSS
$custom: #2d5478;
$custom-light: #6d839f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5478",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 208.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.07462,
    "h": 248.1
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#2D5478
secondary
#A97F58
accent
#9153D5
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D5478

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

Preview Lab → · Contrast checker → · Palette generator →

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