#2D5099#2D5099

#2D5099 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.126 H 263.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2D5099
RGBrgb(45, 80, 153)
HSLhsl(221, 55%, 39%)
HSVhsv(221, 71%, 60%)
CMYKcmyk(70.6%, 47.7%, 0%, 40%)
CIE-LABlab(35.19, 13.00, -43.70)
CIE-LCHlch(35.19, 45.60, 286.56°)
OKLaboklab(44.57% -0.0153 -0.1252)
OKLCHoklch(44.57% 0.126 263)
XYZxyz(9.6986, 8.5941, 31.2785)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5099 #99762D
analogous
#2D8699 #2D5099 #402D99
triadic
#2D5099 #992D50 #50992D
tetradic
#2D5099 #992D86 #99762D #2D9940
square
#2D5099 #992D86 #99762D #2D9940
split-complementary
#2D5099 #99402D #86992D
monochromatic
#111F3A #1F376A #2D5099 #3D6AC6 #6C8ED4

Accessibility & contrast

On white

7.72
#2D5099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D5099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5099
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5099#FFFFFF#000000##FFFFFF
##2D50991.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#124E98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5099;
/* rgb */ color: rgb(45, 80, 153);
/* oklch */ color: oklch(44.6% 0.126 263.0);
Tailwind
colors: {
  custom: {
    50: '#7380b7',
    500: '#2d5099',
    950: '#000000',
  },
}
SCSS
$custom: #2d5099;
$custom-light: #7380b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5099",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 220.556,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44568,
    "c": 0.12614,
    "h": 263
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#2D5099
secondary
#BBA067
accent
#AE4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5099

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

Preview Lab → · Contrast checker → · Palette generator →

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