#2D5284#2D5284

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

Color values

HEX#2D5284
RGBrgb(45, 82, 132)
HSLhsl(214, 49%, 35%)
HSVhsv(214, 66%, 52%)
CMYKcmyk(65.9%, 37.9%, 0%, 48.2%)
CIE-LABlab(34.51, 3.76, -31.99)
CIE-LCHlch(34.51, 32.21, 276.71°)
OKLaboklab(43.63% -0.0219 -0.0908)
OKLCHoklch(43.63% 0.093 256.5)
XYZxyz(8.2628, 8.2576, 22.9838)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5284 #845F2D
analogous
#2D7E84 #2D5284 #342D84
triadic
#2D5284 #842D52 #52842D
tetradic
#2D5284 #842D7E #845F2D #2D8434
square
#2D5284 #842D7E #845F2D #2D8434
split-complementary
#2D5284 #84342D #7E842D
monochromatic
#0E1929 #1D3656 #2D5284 #3D6EB2 #628EC9

Accessibility & contrast

On white

7.92
#2D5284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D5284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5284
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5284#FFFFFF#000000##FFFFFF
##2D52841.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5686
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5284;
/* rgb */ color: rgb(45, 82, 132);
/* oklch */ color: oklch(43.6% 0.093 256.5);
Tailwind
colors: {
  custom: {
    50: '#6f82a8',
    500: '#2d5284',
    950: '#000000',
  },
}
SCSS
$custom: #2d5284;
$custom-light: #6f82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5284",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 214.483,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43631,
    "c": 0.0934,
    "h": 256.5
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#2D5284
secondary
#B08D5D
accent
#9E4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5284

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

Preview Lab → · Contrast checker → · Palette generator →

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