#2D5D97#2D5D97

#2D5D97 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.108 H 254.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2D5D97
RGBrgb(45, 93, 151)
HSLhsl(213, 54%, 38%)
HSVhsv(213, 70%, 59%)
CMYKcmyk(70.2%, 38.4%, 0%, 40.8%)
CIE-LABlab(38.93, 3.75, -36.53)
CIE-LCHlch(38.93, 36.72, 275.85°)
OKLaboklab(47.42% -0.0287 -0.1039)
OKLCHoklch(47.42% 0.108 254.6)
XYZxyz(10.5804, 10.6198, 30.7644)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D97 #97672D
analogous
#2D9297 #2D5D97 #322D97
triadic
#2D5D97 #972D5D #5D972D
tetradic
#2D5D97 #972D92 #97672D #2D9732
square
#2D5D97 #972D92 #97672D #2D9732
split-complementary
#2D5D97 #97322D #92972D
monochromatic
#112339 #1F4068 #2D5D97 #3C7AC5 #6B9AD3

Accessibility & contrast

On white

6.72
#2D5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2D5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D97
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D97#FFFFFF#000000##FFFFFF
##2D5D971.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#335796
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d5d97;
/* rgb */ color: rgb(45, 93, 151);
/* oklch */ color: oklch(47.4% 0.108 254.6);
Tailwind
colors: {
  custom: {
    50: '#738ab6',
    500: '#2d5d97',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d97;
$custom-light: #738ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d97",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 212.83,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47424,
    "c": 0.1078,
    "h": 254.6
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#2D5D97
secondary
#BA9466
accent
#9B4ADD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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