#2D5281#2D5281

#2D5281 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.089 H 255.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2D5281
RGBrgb(45, 82, 129)
HSLhsl(214, 48%, 34%)
HSVhsv(214, 65%, 51%)
CMYKcmyk(65.1%, 36.4%, 0%, 49.4%)
CIE-LABlab(34.35, 2.66, -30.41)
CIE-LCHlch(34.35, 30.52, 274.99°)
OKLaboklab(43.45% -0.0227 -0.0862)
OKLCHoklch(43.45% 0.089 255.2)
XYZxyz(8.0605, 8.1767, 21.9181)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5281 #815C2D
analogous
#2D7C81 #2D5281 #322D81
triadic
#2D5281 #812D52 #52812D
tetradic
#2D5281 #812D7C #815C2D #2D8132
square
#2D5281 #812D7C #815C2D #2D8132
split-complementary
#2D5281 #81322D #7C812D
monochromatic
#0D1826 #1D3554 #2D5281 #3D6FAE #618EC8

Accessibility & contrast

On white

7.97
#2D5281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2D5281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5281
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5281#FFFFFF#000000##FFFFFF
##2D52811.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5281;
/* rgb */ color: rgb(45, 82, 129);
/* oklch */ color: oklch(43.4% 0.089 255.2);
Tailwind
colors: {
  custom: {
    50: '#6f82a6',
    500: '#2d5281',
    950: '#000000',
  },
}
SCSS
$custom: #2d5281;
$custom-light: #6f82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5281",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 213.571,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43448,
    "c": 0.08911,
    "h": 255.2
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#2D5281
secondary
#AE8A5C
accent
#9C50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5281

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

Preview Lab → · Contrast checker → · Palette generator →

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