#2D5378#2D5378

#2D5378 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.076 H 249.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2D5378
RGBrgb(45, 83, 120)
HSLhsl(210, 45%, 32%)
HSVhsv(210, 63%, 47%)
CMYKcmyk(62.5%, 30.8%, 0%, 52.9%)
CIE-LABlab(34.19, -1.26, -25.09)
CIE-LCHlch(34.19, 25.12, 267.11°)
OKLaboklab(43.17% -0.0266 -0.0707)
OKLCHoklch(43.17% 0.076 249.4)
XYZxyz(7.5644, 8.0998, 18.9304)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5378 #78522D
analogous
#2D7878 #2D5378 #2D2D78
triadic
#2D5378 #782D53 #53782D
tetradic
#2D5378 #782D78 #78522D #2D782D
square
#2D5378 #782D78 #78522D #2D782D
split-complementary
#2D5378 #782D2D #78782D
monochromatic
#0C151F #1C344B #2D5378 #3E72A5 #5D90C2

Accessibility & contrast

On white

8.02
#2D5378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D5378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5378
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5378#FFFFFF#000000##FFFFFF
##2D53781.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#005C60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5378;
/* rgb */ color: rgb(45, 83, 120);
/* oklch */ color: oklch(43.2% 0.076 249.4);
Tailwind
colors: {
  custom: {
    50: '#6d839f',
    500: '#2d5378',
    950: '#000000',
  },
}
SCSS
$custom: #2d5378;
$custom-light: #6d839f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5378",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 120
  },
  "hsl": {
    "h": 209.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43169,
    "c": 0.07553,
    "h": 249.4
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#2D5378
secondary
#A98058
accent
#9353D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D5378

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

Preview Lab → · Contrast checker → · Palette generator →

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