#2D5691#2D5691

#2D5691 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.4% C 0.107 H 257.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2D5691
RGBrgb(45, 86, 145)
HSLhsl(215, 53%, 37%)
HSVhsv(215, 69%, 57%)
CMYKcmyk(69%, 40.7%, 0%, 43.1%)
CIE-LABlab(36.47, 6.01, -36.81)
CIE-LCHlch(36.47, 37.30, 279.28°)
OKLaboklab(45.4% -0.0229 -0.1049)
OKLCHoklch(45.4% 0.107 257.7)
XYZxyz(9.5190, 9.2568, 28.0677)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5691 #91682D
analogous
#2D8891 #2D5691 #362D91
triadic
#2D5691 #912D56 #56912D
tetradic
#2D5691 #912D88 #91682D #2D9136
square
#2D5691 #912D88 #91682D #2D9136
split-complementary
#2D5691 #91362D #88912D
monochromatic
#101F34 #1F3A62 #2D5691 #3B72C0 #6893D0

Accessibility & contrast

On white

7.36
#2D5691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D5691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5691
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5691#FFFFFF#000000##FFFFFF
##2D56911.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B93
Deuteranopia (green-blind)
#2C5290
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5691;
/* rgb */ color: rgb(45, 86, 145);
/* oklch */ color: oklch(45.4% 0.107 257.7);
Tailwind
colors: {
  custom: {
    50: '#7285b1',
    500: '#2d5691',
    950: '#000000',
  },
}
SCSS
$custom: #2d5691;
$custom-light: #7285b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5691",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 145
  },
  "hsl": {
    "h": 215.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45398,
    "c": 0.10734,
    "h": 257.7
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#2D5691
secondary
#B79463
accent
#A14CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5691

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

Preview Lab → · Contrast checker → · Palette generator →

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