#2D5696#2D5696

#2D5696 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.114 H 259.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2D5696
RGBrgb(45, 86, 150)
HSLhsl(217, 54%, 38%)
HSVhsv(217, 70%, 59%)
CMYKcmyk(70%, 42.7%, 0%, 41.2%)
CIE-LABlab(36.77, 7.90, -39.36)
CIE-LCHlch(36.77, 40.15, 281.34°)
OKLaboklab(45.72% -0.0218 -0.1123)
OKLCHoklch(45.72% 0.114 259)
XYZxyz(9.9130, 9.4145, 30.1430)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5696 #966D2D
analogous
#2D8A96 #2D5696 #382D96
triadic
#2D5696 #962D56 #56962D
tetradic
#2D5696 #962D8A #966D2D #2D9638
square
#2D5696 #962D8A #966D2D #2D9638
split-complementary
#2D5696 #96382D #8A962D
monochromatic
#112038 #1F3B67 #2D5696 #3C71C4 #6B93D3

Accessibility & contrast

On white

7.28
#2D5696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D5696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5696
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5696#FFFFFF#000000##FFFFFF
##2D56961.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C99
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5696;
/* rgb */ color: rgb(45, 86, 150);
/* oklch */ color: oklch(45.7% 0.114 259.0);
Tailwind
colors: {
  custom: {
    50: '#7385b5',
    500: '#2d5696',
    950: '#000000',
  },
}
SCSS
$custom: #2d5696;
$custom-light: #7385b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5696",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 216.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45724,
    "c": 0.11444,
    "h": 259
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#2D5696
secondary
#B99965
accent
#A44BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5696

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

Preview Lab → · Contrast checker → · Palette generator →

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