#2D5C97#2D5C97

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

Color values

HEX#2D5C97
RGBrgb(45, 92, 151)
HSLhsl(213, 54%, 38%)
HSVhsv(213, 70%, 59%)
CMYKcmyk(70.2%, 39.1%, 0%, 40.8%)
CIE-LABlab(38.63, 4.39, -37.01)
CIE-LCHlch(38.63, 37.27, 276.76°)
OKLaboklab(47.19% -0.0276 -0.1053)
OKLCHoklch(47.19% 0.109 255.3)
XYZxyz(10.4932, 10.4455, 30.7353)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C97 #97682D
analogous
#2D9197 #2D5C97 #332D97
triadic
#2D5C97 #972D5C #5C972D
tetradic
#2D5C97 #972D91 #97682D #2D9733
square
#2D5C97 #972D91 #97682D #2D9733
split-complementary
#2D5C97 #97332D #91972D
monochromatic
#112339 #1F3F68 #2D5C97 #3C79C5 #6B99D3

Accessibility & contrast

On white

6.80
#2D5C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2D5C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5C97
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C97#FFFFFF#000000##FFFFFF
##2D5C971.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5c97;
/* rgb */ color: rgb(45, 92, 151);
/* oklch */ color: oklch(47.2% 0.109 255.3);
Tailwind
colors: {
  custom: {
    50: '#7389b6',
    500: '#2d5c97',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c97;
$custom-light: #7389b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c97",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 213.396,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47188,
    "c": 0.10891,
    "h": 255.3
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#2D5C97
secondary
#BA9566
accent
#9C4ADD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5C97

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

Preview Lab → · Contrast checker → · Palette generator →

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