#2D5F96#2D5F96

#2D5F96 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.104 H 252.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2D5F96
RGBrgb(45, 95, 150)
HSLhsl(211, 54%, 38%)
HSVhsv(211, 70%, 59%)
CMYKcmyk(70%, 36.7%, 0%, 41.2%)
CIE-LABlab(39.48, 2.10, -35.05)
CIE-LCHlch(39.48, 35.11, 273.43°)
OKLaboklab(47.84% -0.031 -0.0996)
OKLCHoklch(47.84% 0.104 252.7)
XYZxyz(10.6774, 10.9432, 30.3978)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F96 #96642D
analogous
#2D9396 #2D5F96 #302D96
triadic
#2D5F96 #962D5F #5F962D
tetradic
#2D5F96 #962D93 #96642D #2D9630
square
#2D5F96 #962D93 #96642D #2D9630
split-complementary
#2D5F96 #96302D #93962D
monochromatic
#112338 #1F4167 #2D5F96 #3C7DC4 #6B9CD3

Accessibility & contrast

On white

6.59
#2D5F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D5F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F96
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F96#FFFFFF#000000##FFFFFF
##2D5F961.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466298
Deuteranopia (green-blind)
#375995
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5f96;
/* rgb */ color: rgb(45, 95, 150);
/* oklch */ color: oklch(47.8% 0.104 252.7);
Tailwind
colors: {
  custom: {
    50: '#728cb5',
    500: '#2d5f96',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f96;
$custom-light: #728cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f96",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 150
  },
  "hsl": {
    "h": 211.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.10429,
    "h": 252.7
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#2D5F96
secondary
#B99165
accent
#974BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2D5F96

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

Preview Lab → · Contrast checker → · Palette generator →

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