#2D507A#2D507A

#2D507A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.081 H 254.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2D507A
RGBrgb(45, 80, 122)
HSLhsl(213, 46%, 33%)
HSVhsv(213, 63%, 48%)
CMYKcmyk(63.1%, 34.4%, 0%, 52.2%)
CIE-LABlab(33.35, 1.39, -27.65)
CIE-LCHlch(33.35, 27.69, 272.87°)
OKLaboklab(42.54% -0.0224 -0.0782)
OKLCHoklch(42.54% 0.081 254)
XYZxyz(7.4624, 7.6997, 19.5015)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D507A #7A572D
analogous
#2D777A #2D507A #302D7A
triadic
#2D507A #7A2D50 #507A2D
tetradic
#2D507A #7A2D77 #7A572D #2D7A30
square
#2D507A #7A2D77 #7A572D #2D7A30
split-complementary
#2D507A #7A302D #777A2D
monochromatic
#0C1521 #1D334D #2D507A #3D6DA7 #5E8CC4

Accessibility & contrast

On white

8.27
#2D507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D507A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D507A#FFFFFF#000000##FFFFFF
##2D507A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d507a;
/* rgb */ color: rgb(45, 80, 122);
/* oklch */ color: oklch(42.5% 0.081 254.0);
Tailwind
colors: {
  custom: {
    50: '#6d80a0',
    500: '#2d507a',
    950: '#000000',
  },
}
SCSS
$custom: #2d507a;
$custom-light: #6d80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d507a",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 212.727,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.08131,
    "h": 254
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#2D507A
secondary
#AA8559
accent
#9A52D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2D507A

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

Preview Lab → · Contrast checker → · Palette generator →

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