#2D5481#2D5481

#2D5481 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.9% C 0.087 H 253.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2D5481
RGBrgb(45, 84, 129)
HSLhsl(212, 48%, 34%)
HSVhsv(212, 65%, 51%)
CMYKcmyk(65.1%, 34.9%, 0%, 49.4%)
CIE-LABlab(34.97, 1.36, -29.43)
CIE-LCHlch(34.97, 29.46, 272.65°)
OKLaboklab(43.93% -0.025 -0.0833)
OKLCHoklch(43.93% 0.087 253.3)
XYZxyz(8.2135, 8.4827, 21.9691)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5481 #815A2D
analogous
#2D7E81 #2D5481 #302D81
triadic
#2D5481 #812D54 #54812D
tetradic
#2D5481 #812D7E #815A2D #2D8130
square
#2D5481 #812D7E #815A2D #2D8130
split-complementary
#2D5481 #81302D #7E812D
monochromatic
#0D1926 #1D3654 #2D5481 #3D72AE #6191C8

Accessibility & contrast

On white

7.79
#2D5481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2D5481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5481
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5481#FFFFFF#000000##FFFFFF
##2D54811.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#354F80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5481;
/* rgb */ color: rgb(45, 84, 129);
/* oklch */ color: oklch(43.9% 0.087 253.3);
Tailwind
colors: {
  custom: {
    50: '#6f83a6',
    500: '#2d5481',
    950: '#000000',
  },
}
SCSS
$custom: #2d5481;
$custom-light: #6f83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5481",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 212.143,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.08695,
    "h": 253.3
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#2D5481
secondary
#AE885C
accent
#9950D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5481

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

Preview Lab → · Contrast checker → · Palette generator →

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