#2D5699#2D5699

#2D5699 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.119 H 259.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2D5699
RGBrgb(45, 86, 153)
HSLhsl(217, 55%, 39%)
HSVhsv(217, 71%, 60%)
CMYKcmyk(70.6%, 43.8%, 0%, 40%)
CIE-LABlab(36.95, 9.03, -40.88)
CIE-LCHlch(36.95, 41.87, 282.46°)
OKLaboklab(45.92% -0.0212 -0.1168)
OKLCHoklch(45.92% 0.119 259.7)
XYZxyz(10.1577, 9.5123, 31.4316)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5699 #99702D
analogous
#2D8C99 #2D5699 #3A2D99
triadic
#2D5699 #992D56 #56992D
tetradic
#2D5699 #992D8C #99702D #2D993A
square
#2D5699 #992D8C #99702D #2D993A
split-complementary
#2D5699 #993A2D #8C992D
monochromatic
#11213A #1F3B6A #2D5699 #3D71C6 #6C94D4

Accessibility & contrast

On white

7.23
#2D5699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D5699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5699
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5699#FFFFFF#000000##FFFFFF
##2D56991.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#235298
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d5699;
/* rgb */ color: rgb(45, 86, 153);
/* oklch */ color: oklch(45.9% 0.119 259.7);
Tailwind
colors: {
  custom: {
    50: '#7385b7',
    500: '#2d5699',
    950: '#000000',
  },
}
SCSS
$custom: #2d5699;
$custom-light: #7385b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5699",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 217.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.11871,
    "h": 259.7
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#2D5699
secondary
#BB9B67
accent
#A64ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5699

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

Preview Lab → · Contrast checker → · Palette generator →

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