#2D507E#2D507E

#2D507E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.087 H 255.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2D507E
RGBrgb(45, 80, 126)
HSLhsl(214, 47%, 34%)
HSVhsv(214, 64%, 49%)
CMYKcmyk(64.3%, 36.5%, 0%, 50.6%)
CIE-LABlab(33.56, 2.85, -29.79)
CIE-LCHlch(33.56, 29.93, 275.47°)
OKLaboklab(42.78% -0.0212 -0.0844)
OKLCHoklch(42.78% 0.087 255.9)
XYZxyz(7.7154, 7.8009, 20.8337)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D507E #7E5B2D
analogous
#2D787E #2D507E #322D7E
triadic
#2D507E #7E2D50 #507E2D
tetradic
#2D507E #7E2D78 #7E5B2D #2D7E32
square
#2D507E #7E2D78 #7E5B2D #2D7E32
split-complementary
#2D507E #7E322D #787E2D
monochromatic
#0D1724 #1D3351 #2D507E #3D6DAB #5F8CC6

Accessibility & contrast

On white

8.20
#2D507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D507E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D507E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D507E#FFFFFF#000000##FFFFFF
##2D507E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d507e;
/* rgb */ color: rgb(45, 80, 126);
/* oklch */ color: oklch(42.8% 0.087 255.9);
Tailwind
colors: {
  custom: {
    50: '#6e80a3',
    500: '#2d507e',
    950: '#000000',
  },
}
SCSS
$custom: #2d507e;
$custom-light: #6e80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d507e",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 214.074,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.08703,
    "h": 255.9
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#2D507E
secondary
#AC895A
accent
#9D51D7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D507E

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

Preview Lab → · Contrast checker → · Palette generator →

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