#2D5593#2D5593

#2D5593 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.3% C 0.111 H 258.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2D5593
RGBrgb(45, 85, 147)
HSLhsl(216, 53%, 38%)
HSVhsv(216, 69%, 58%)
CMYKcmyk(69.4%, 42.2%, 0%, 42.4%)
CIE-LABlab(36.29, 7.42, -38.32)
CIE-LCHlch(36.29, 39.03, 280.96°)
OKLaboklab(45.3% -0.0214 -0.1093)
OKLCHoklch(45.3% 0.111 258.9)
XYZxyz(9.5953, 9.1605, 28.8606)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5593 #936B2D
analogous
#2D8893 #2D5593 #382D93
triadic
#2D5593 #932D55 #55932D
tetradic
#2D5593 #932D88 #936B2D #2D9338
square
#2D5593 #932D88 #936B2D #2D9338
split-complementary
#2D5593 #93382D #88932D
monochromatic
#101F35 #1F3A64 #2D5593 #3B70C2 #6992D1

Accessibility & contrast

On white

7.41
#2D5593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D5593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5593
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5593#FFFFFF#000000##FFFFFF
##2D55931.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A95
Deuteranopia (green-blind)
#285192
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d5593;
/* rgb */ color: rgb(45, 85, 147);
/* oklch */ color: oklch(45.3% 0.111 258.9);
Tailwind
colors: {
  custom: {
    50: '#7284b3',
    500: '#2d5593',
    950: '#000000',
  },
}
SCSS
$custom: #2d5593;
$custom-light: #7284b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5593",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 147
  },
  "hsl": {
    "h": 216.471,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.11137,
    "h": 258.9
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#2D5593
secondary
#B89764
accent
#A44BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5593

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

Preview Lab → · Contrast checker → · Palette generator →

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