#2D5693#2D5693

#2D5693 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.110 H 258.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2D5693
RGBrgb(45, 86, 147)
HSLhsl(216, 53%, 38%)
HSVhsv(216, 69%, 58%)
CMYKcmyk(69.4%, 41.5%, 0%, 42.4%)
CIE-LABlab(36.59, 6.77, -37.84)
CIE-LCHlch(36.59, 38.44, 280.14°)
OKLaboklab(45.53% -0.0224 -0.1079)
OKLCHoklch(45.53% 0.11 258.2)
XYZxyz(9.6745, 9.3191, 28.8870)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5693 #936A2D
analogous
#2D8993 #2D5693 #372D93
triadic
#2D5693 #932D56 #56932D
tetradic
#2D5693 #932D89 #936A2D #2D9337
square
#2D5693 #932D89 #936A2D #2D9337
split-complementary
#2D5693 #93372D #89932D
monochromatic
#101F35 #1F3B64 #2D5693 #3B71C2 #6993D1

Accessibility & contrast

On white

7.33
#2D5693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D5693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5693
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5693#FFFFFF#000000##FFFFFF
##2D56931.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#2A5292
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5693;
/* rgb */ color: rgb(45, 86, 147);
/* oklch */ color: oklch(45.5% 0.110 258.2);
Tailwind
colors: {
  custom: {
    50: '#7285b3',
    500: '#2d5693',
    950: '#000000',
  },
}
SCSS
$custom: #2d5693;
$custom-light: #7285b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5693",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 215.882,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.11018,
    "h": 258.2
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#2D5693
secondary
#B89664
accent
#A24BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5693

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

Preview Lab → · Contrast checker → · Palette generator →

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