#2D507F#2D507F

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

Color values

HEX#2D507F
RGBrgb(45, 80, 127)
HSLhsl(214, 48%, 34%)
HSVhsv(214, 65%, 50%)
CMYKcmyk(64.6%, 37%, 0%, 50.2%)
CIE-LABlab(33.62, 3.22, -30.32)
CIE-LCHlch(33.62, 30.49, 276.06°)
OKLaboklab(42.84% -0.021 -0.0859)
OKLCHoklch(42.84% 0.088 256.3)
XYZxyz(7.7802, 7.8268, 21.1753)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D507F #7F5C2D
analogous
#2D797F #2D507F #332D7F
triadic
#2D507F #7F2D50 #507F2D
tetradic
#2D507F #7F2D79 #7F5C2D #2D7F33
square
#2D507F #7F2D79 #7F5C2D #2D7F33
split-complementary
#2D507F #7F332D #797F2D
monochromatic
#0D1725 #1D3452 #2D507F #3D6CAC #608CC7

Accessibility & contrast

On white

8.19
#2D507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2D507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D507F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D507F#FFFFFF#000000##FFFFFF
##2D507F1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d507f;
/* rgb */ color: rgb(45, 80, 127);
/* oklch */ color: oklch(42.8% 0.088 256.3);
Tailwind
colors: {
  custom: {
    50: '#6e80a4',
    500: '#2d507f',
    950: '#000000',
  },
}
SCSS
$custom: #2d507f;
$custom-light: #6e80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d507f",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 214.39,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.08847,
    "h": 256.3
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#2D507F
secondary
#AD8A5B
accent
#9E51D7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D507F

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

Preview Lab → · Contrast checker → · Palette generator →

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