#2D5090#2D5090

#2D5090 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.113 H 261.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2D5090
RGBrgb(45, 80, 144)
HSLhsl(219, 52%, 37%)
HSVhsv(219, 69%, 56%)
CMYKcmyk(68.7%, 44.4%, 0%, 43.5%)
CIE-LABlab(34.62, 9.58, -39.17)
CIE-LCHlch(34.62, 40.32, 283.75°)
OKLaboklab(43.94% -0.0169 -0.1119)
OKLCHoklch(43.94% 0.113 261.4)
XYZxyz(8.9831, 8.3079, 27.5103)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5090 #906D2D
analogous
#2D8290 #2D5090 #3C2D90
triadic
#2D5090 #902D50 #50902D
tetradic
#2D5090 #902D82 #906D2D #2D903C
square
#2D5090 #902D82 #906D2D #2D903C
split-complementary
#2D5090 #903C2D #82902D
monochromatic
#101C33 #1E3661 #2D5090 #3C6ABF #688CD0

Accessibility & contrast

On white

7.89
#2D5090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2D5090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5090
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5090#FFFFFF#000000##FFFFFF
##2D50901.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#214D8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5090;
/* rgb */ color: rgb(45, 80, 144);
/* oklch */ color: oklch(43.9% 0.113 261.4);
Tailwind
colors: {
  custom: {
    50: '#7180b1',
    500: '#2d5090',
    950: '#000000',
  },
}
SCSS
$custom: #2d5090;
$custom-light: #7180b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5090",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 144
  },
  "hsl": {
    "h": 218.788,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.11315,
    "h": 261.4
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#2D5090
secondary
#B69962
accent
#A94CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2D5090

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

Preview Lab → · Contrast checker → · Palette generator →

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