#2D5181#2D5181

#2D5181 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.090 H 256.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2D5181
RGBrgb(45, 81, 129)
HSLhsl(214, 48%, 34%)
HSVhsv(214, 65%, 51%)
CMYKcmyk(65.1%, 37.2%, 0%, 49.4%)
CIE-LABlab(34.04, 3.31, -30.89)
CIE-LCHlch(34.04, 31.07, 276.11°)
OKLaboklab(43.21% -0.0215 -0.0876)
OKLCHoklch(43.21% 0.09 256.2)
XYZxyz(7.9856, 8.0270, 21.8931)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5181 #815D2D
analogous
#2D7B81 #2D5181 #332D81
triadic
#2D5181 #812D51 #51812D
tetradic
#2D5181 #812D7B #815D2D #2D8133
square
#2D5181 #812D7B #815D2D #2D8133
split-complementary
#2D5181 #81332D #7B812D
monochromatic
#0D1826 #1D3554 #2D5181 #3D6DAE #618DC8

Accessibility & contrast

On white

8.06
#2D5181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2D5181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5181
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5181#FFFFFF#000000##FFFFFF
##2D51811.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#314C80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5181;
/* rgb */ color: rgb(45, 81, 129);
/* oklch */ color: oklch(43.2% 0.090 256.2);
Tailwind
colors: {
  custom: {
    50: '#6f81a6',
    500: '#2d5181',
    950: '#000000',
  },
}
SCSS
$custom: #2d5181;
$custom-light: #6f81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5181",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 214.286,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.09022,
    "h": 256.2
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#2D5181
secondary
#AE8B5C
accent
#9E50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5181

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

Preview Lab → · Contrast checker → · Palette generator →

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