#2D5596#2D5596

#2D5596 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.116 H 259.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2D5596
RGBrgb(45, 85, 150)
HSLhsl(217, 54%, 38%)
HSVhsv(217, 70%, 59%)
CMYKcmyk(70%, 43.3%, 0%, 41.2%)
CIE-LABlab(36.47, 8.55, -39.84)
CIE-LCHlch(36.47, 40.75, 282.12°)
OKLaboklab(45.49% -0.0208 -0.1138)
OKLCHoklch(45.49% 0.116 259.6)
XYZxyz(9.8337, 9.2559, 30.1166)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5596 #966E2D
analogous
#2D8996 #2D5596 #392D96
triadic
#2D5596 #962D55 #55962D
tetradic
#2D5596 #962D89 #966E2D #2D9639
square
#2D5596 #962D89 #966E2D #2D9639
split-complementary
#2D5596 #96392D #89962D
monochromatic
#112038 #1F3A67 #2D5596 #3C70C4 #6B92D3

Accessibility & contrast

On white

7.36
#2D5596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D5596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5596
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5596#FFFFFF#000000##FFFFFF
##2D55961.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B99
Deuteranopia (green-blind)
#255195
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5596;
/* rgb */ color: rgb(45, 85, 150);
/* oklch */ color: oklch(45.5% 0.116 259.6);
Tailwind
colors: {
  custom: {
    50: '#7384b5',
    500: '#2d5596',
    950: '#000000',
  },
}
SCSS
$custom: #2d5596;
$custom-light: #7384b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5596",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 150
  },
  "hsl": {
    "h": 217.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.11565,
    "h": 259.6
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#2D5596
secondary
#B99965
accent
#A54BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5596

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

Preview Lab → · Contrast checker → · Palette generator →

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