#2D5380#2D5380

#2D5380 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.087 H 253.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2D5380
RGBrgb(45, 83, 128)
HSLhsl(213, 48%, 34%)
HSVhsv(213, 65%, 50%)
CMYKcmyk(64.8%, 35.2%, 0%, 49.8%)
CIE-LABlab(34.60, 1.64, -29.39)
CIE-LCHlch(34.60, 29.43, 273.19°)
OKLaboklab(43.63% -0.0241 -0.0832)
OKLCHoklch(43.63% 0.087 253.8)
XYZxyz(8.0703, 8.3022, 21.5951)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5380 #805A2D
analogous
#2D7D80 #2D5380 #312D80
triadic
#2D5380 #802D53 #53802D
tetradic
#2D5380 #802D7D #805A2D #2D8031
square
#2D5380 #802D7D #805A2D #2D8031
split-complementary
#2D5380 #80312D #7D802D
monochromatic
#0D1825 #1D3653 #2D5380 #3D70AD #608FC7

Accessibility & contrast

On white

7.89
#2D5380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2D5380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5380
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5380#FFFFFF#000000##FFFFFF
##2D53801.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405682
Deuteranopia (green-blind)
#344E7F
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5380;
/* rgb */ color: rgb(45, 83, 128);
/* oklch */ color: oklch(43.6% 0.087 253.8);
Tailwind
colors: {
  custom: {
    50: '#6e83a5',
    500: '#2d5380',
    950: '#000000',
  },
}
SCSS
$custom: #2d5380;
$custom-light: #6e83a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5380",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 128
  },
  "hsl": {
    "h": 212.53,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.08661,
    "h": 253.8
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#2D5380
secondary
#AE885B
accent
#9A50D8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5380

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

Preview Lab → · Contrast checker → · Palette generator →

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