#2D5091#2D5091

#2D5091 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.115 H 261.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2D5091
RGBrgb(45, 80, 145)
HSLhsl(219, 53%, 37%)
HSVhsv(219, 69%, 57%)
CMYKcmyk(69%, 44.8%, 0%, 43.1%)
CIE-LABlab(34.68, 9.96, -39.68)
CIE-LCHlch(34.68, 40.91, 284.09°)
OKLaboklab(44.01% -0.0167 -0.1134)
OKLCHoklch(44.01% 0.115 261.6)
XYZxyz(9.0599, 8.3386, 27.9146)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5091 #916E2D
analogous
#2D8291 #2D5091 #3C2D91
triadic
#2D5091 #912D50 #50912D
tetradic
#2D5091 #912D82 #916E2D #2D913C
square
#2D5091 #912D82 #916E2D #2D913C
split-complementary
#2D5091 #913C2D #82912D
monochromatic
#101C34 #1F3662 #2D5091 #3B6AC0 #688DD0

Accessibility & contrast

On white

7.87
#2D5091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D5091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5091
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5091#FFFFFF#000000##FFFFFF
##2D50911.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315693
Deuteranopia (green-blind)
#204D90
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5091;
/* rgb */ color: rgb(45, 80, 145);
/* oklch */ color: oklch(44.0% 0.115 261.6);
Tailwind
colors: {
  custom: {
    50: '#7280b2',
    500: '#2d5091',
    950: '#000000',
  },
}
SCSS
$custom: #2d5091;
$custom-light: #7280b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5091",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 145
  },
  "hsl": {
    "h": 219,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.1146,
    "h": 261.6
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#2D5091
secondary
#B79A63
accent
#AA4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5091

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

Preview Lab → · Contrast checker → · Palette generator →

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