#2D507C#2D507C

#2D507C is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.084 H 255.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2D507C
RGBrgb(45, 80, 124)
HSLhsl(213, 47%, 33%)
HSVhsv(213, 64%, 49%)
CMYKcmyk(63.7%, 35.5%, 0%, 51.4%)
CIE-LABlab(33.46, 2.12, -28.72)
CIE-LCHlch(33.46, 28.80, 274.22°)
OKLaboklab(42.66% -0.0218 -0.0813)
OKLCHoklch(42.66% 0.084 255)
XYZxyz(7.5876, 7.7498, 20.1609)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D507C #7C592D
analogous
#2D777C #2D507C #312D7C
triadic
#2D507C #7C2D50 #507C2D
tetradic
#2D507C #7C2D77 #7C592D #2D7C31
square
#2D507C #7C2D77 #7C592D #2D7C31
split-complementary
#2D507C #7C312D #777C2D
monochromatic
#0C1622 #1D334F #2D507C #3D6DA9 #5F8CC5

Accessibility & contrast

On white

8.24
#2D507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D507C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D507C
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D507C#FFFFFF#000000##FFFFFF
##2D507C1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d507c;
/* rgb */ color: rgb(45, 80, 124);
/* oklch */ color: oklch(42.7% 0.084 255.0);
Tailwind
colors: {
  custom: {
    50: '#6e80a2',
    500: '#2d507c',
    950: '#000000',
  },
}
SCSS
$custom: #2d507c;
$custom-light: #6e80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d507c",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 213.418,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.08416,
    "h": 255
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#2D507C
secondary
#AB875A
accent
#9B51D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D507C

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

Preview Lab → · Contrast checker → · Palette generator →

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