#2D5394#2D5394

#2D5394 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.115 H 260.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2D5394
RGBrgb(45, 83, 148)
HSLhsl(218, 53%, 38%)
HSVhsv(218, 70%, 58%)
CMYKcmyk(69.6%, 43.9%, 0%, 42%)
CIE-LABlab(35.76, 9.11, -39.78)
CIE-LCHlch(35.76, 40.81, 282.90°)
OKLaboklab(44.9% -0.0192 -0.1136)
OKLCHoklch(44.9% 0.115 260.4)
XYZxyz(9.5188, 8.8816, 29.2239)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5394 #946E2D
analogous
#2D8694 #2D5394 #3A2D94
triadic
#2D5394 #942D53 #53942D
tetradic
#2D5394 #942D86 #946E2D #2D943A
square
#2D5394 #942D86 #946E2D #2D943A
split-complementary
#2D5394 #943A2D #86942D
monochromatic
#101E36 #1F3965 #2D5394 #3B6DC3 #6A90D2

Accessibility & contrast

On white

7.56
#2D5394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2D5394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5394
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5394#FFFFFF#000000##FFFFFF
##2D53941.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345997
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5394;
/* rgb */ color: rgb(45, 83, 148);
/* oklch */ color: oklch(44.9% 0.115 260.4);
Tailwind
colors: {
  custom: {
    50: '#7282b4',
    500: '#2d5394',
    950: '#000000',
  },
}
SCSS
$custom: #2d5394;
$custom-light: #7282b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5394",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 217.864,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.449,
    "c": 0.11522,
    "h": 260.4
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#2D5394
secondary
#B89964
accent
#A74BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5394

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

Preview Lab → · Contrast checker → · Palette generator →

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