#2D5F81#2D5F81

#2D5F81 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.077 H 240.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2D5F81
RGBrgb(45, 95, 129)
HSLhsl(204, 48%, 34%)
HSVhsv(204, 65%, 51%)
CMYKcmyk(65.1%, 26.4%, 0%, 49.4%)
CIE-LABlab(38.42, -5.54, -24.02)
CIE-LCHlch(38.42, 24.65, 257.00°)
OKLaboklab(46.65% -0.0376 -0.0675)
OKLCHoklch(46.65% 0.077 240.9)
XYZxyz(9.1353, 10.3264, 22.2764)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F81 #814F2D
analogous
#2D8179 #2D5F81 #2D3581
triadic
#2D5F81 #812D5F #5F812D
tetradic
#2D5F81 #792D81 #814F2D #35812D
square
#2D5F81 #792D81 #814F2D #35812D
split-complementary
#2D5F81 #812D35 #81792D
monochromatic
#0D1C26 #1D3E54 #2D5F81 #3D80AE #619EC8

Accessibility & contrast

On white

6.85
#2D5F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2D5F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F81
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F81#FFFFFF#000000##FFFFFF
##2D5F811.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F83
Deuteranopia (green-blind)
#445780
Tritanopia (blue-blind)
#00676B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5f81;
/* rgb */ color: rgb(45, 95, 129);
/* oklch */ color: oklch(46.7% 0.077 240.9);
Tailwind
colors: {
  custom: {
    50: '#6f8ca5',
    500: '#2d5f81',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f81;
$custom-light: #6f8ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f81",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 129
  },
  "hsl": {
    "h": 204.286,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46652,
    "c": 0.07725,
    "h": 240.9
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

primary
#2D5F81
secondary
#AE7D5C
accent
#8750D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2D5F81

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

Preview Lab → · Contrast checker → · Palette generator →

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