#2D5995#2D5995

#2D5995 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.4% C 0.110 H 256.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2D5995
RGBrgb(45, 89, 149)
HSLhsl(215, 54%, 38%)
HSVhsv(215, 70%, 58%)
CMYKcmyk(69.8%, 40.3%, 0%, 41.6%)
CIE-LABlab(37.61, 5.57, -37.42)
CIE-LCHlch(37.61, 37.83, 278.46°)
OKLaboklab(46.36% -0.0251 -0.1066)
OKLCHoklch(46.36% 0.11 256.8)
XYZxyz(10.0774, 9.8715, 29.8022)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5995 #95692D
analogous
#2D8D95 #2D5995 #352D95
triadic
#2D5995 #952D59 #59952D
tetradic
#2D5995 #952D8D #95692D #2D9535
square
#2D5995 #952D8D #95692D #2D9535
split-complementary
#2D5995 #95352D #8D952D
monochromatic
#112137 #1F3D66 #2D5995 #3B75C4 #6A96D2

Accessibility & contrast

On white

7.06
#2D5995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2D5995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5995
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5995#FFFFFF#000000##FFFFFF
##2D59951.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#2E5494
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d5995;
/* rgb */ color: rgb(45, 89, 149);
/* oklch */ color: oklch(46.4% 0.110 256.8);
Tailwind
colors: {
  custom: {
    50: '#7287b4',
    500: '#2d5995',
    950: '#000000',
  },
}
SCSS
$custom: #2d5995;
$custom-light: #7287b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5995",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 214.615,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46357,
    "c": 0.10952,
    "h": 256.8
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#2D5995
secondary
#B99565
accent
#9F4BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5995

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

Preview Lab → · Contrast checker → · Palette generator →

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