#2D5392#2D5392

#2D5392 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.112 H 260.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2D5392
RGBrgb(45, 83, 146)
HSLhsl(217, 53%, 37%)
HSVhsv(217, 69%, 57%)
CMYKcmyk(69.2%, 43.2%, 0%, 42.7%)
CIE-LABlab(35.63, 8.36, -38.76)
CIE-LCHlch(35.63, 39.65, 282.16°)
OKLaboklab(44.77% -0.0196 -0.1106)
OKLCHoklch(44.77% 0.112 260)
XYZxyz(9.3619, 8.8188, 28.3974)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5392 #926C2D
analogous
#2D8592 #2D5392 #3A2D92
triadic
#2D5392 #922D53 #53922D
tetradic
#2D5392 #922D85 #926C2D #2D923A
square
#2D5392 #922D85 #926C2D #2D923A
split-complementary
#2D5392 #923A2D #85922D
monochromatic
#101E34 #1F3863 #2D5392 #3B6EC1 #6990D1

Accessibility & contrast

On white

7.60
#2D5392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5392
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5392#FFFFFF#000000##FFFFFF
##2D53921.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355994
Deuteranopia (green-blind)
#254F91
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5392;
/* rgb */ color: rgb(45, 83, 146);
/* oklch */ color: oklch(44.8% 0.112 260.0);
Tailwind
colors: {
  custom: {
    50: '#7282b2',
    500: '#2d5392',
    950: '#000000',
  },
}
SCSS
$custom: #2d5392;
$custom-light: #7282b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5392",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 146
  },
  "hsl": {
    "h": 217.426,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.11234,
    "h": 260
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#2D5392
secondary
#B79863
accent
#A64CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5392

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

Preview Lab → · Contrast checker → · Palette generator →

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