#2D5095#2D5095

#2D5095 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.120 H 262.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2D5095
RGBrgb(45, 80, 149)
HSLhsl(220, 54%, 38%)
HSVhsv(220, 70%, 58%)
CMYKcmyk(69.8%, 46.3%, 0%, 41.6%)
CIE-LABlab(34.93, 11.48, -41.70)
CIE-LCHlch(34.93, 43.25, 285.39°)
OKLaboklab(44.29% -0.016 -0.1193)
OKLCHoklch(44.29% 0.12 262.4)
XYZxyz(9.3737, 8.4642, 29.5677)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5095 #95722D
analogous
#2D8495 #2D5095 #3E2D95
triadic
#2D5095 #952D50 #50952D
tetradic
#2D5095 #952D84 #95722D #2D953E
square
#2D5095 #952D84 #95722D #2D953E
split-complementary
#2D5095 #953E2D #84952D
monochromatic
#111E37 #1F3766 #2D5095 #3B69C4 #6A8DD2

Accessibility & contrast

On white

7.80
#2D5095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D5095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5095
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5095#FFFFFF#000000##FFFFFF
##2D50951.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5798
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5095;
/* rgb */ color: rgb(45, 80, 149);
/* oklch */ color: oklch(44.3% 0.120 262.4);
Tailwind
colors: {
  custom: {
    50: '#7280b4',
    500: '#2d5095',
    950: '#000000',
  },
}
SCSS
$custom: #2d5095;
$custom-light: #7280b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5095",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 219.808,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44285,
    "c": 0.12039,
    "h": 262.4
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#2D5095
secondary
#B99D65
accent
#AC4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5095

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

Preview Lab → · Contrast checker → · Palette generator →

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