#2D5290#2D5290

#2D5290 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.111 H 260.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2D5290
RGBrgb(45, 82, 144)
HSLhsl(218, 52%, 37%)
HSVhsv(218, 69%, 56%)
CMYKcmyk(68.7%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.21, 8.26, -38.22)
CIE-LCHlch(35.21, 39.10, 282.19°)
OKLaboklab(44.4% -0.019 -0.109)
OKLCHoklch(44.4% 0.111 260.1)
XYZxyz(9.1317, 8.6052, 27.5599)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5290 #906B2D
analogous
#2D8490 #2D5290 #3A2D90
triadic
#2D5290 #902D52 #52902D
tetradic
#2D5290 #902D84 #906B2D #2D903A
square
#2D5290 #902D84 #906B2D #2D903A
split-complementary
#2D5290 #903A2D #84902D
monochromatic
#101D33 #1E3761 #2D5290 #3C6DBF #688FD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5290#FFFFFF#000000##FFFFFF
##2D52901.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)
#355892
Deuteranopia (green-blind)
#254F8F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5290;
/* rgb */ color: rgb(45, 82, 144);
/* oklch */ color: oklch(44.4% 0.111 260.1);
Tailwind
colors: {
  custom: {
    50: '#7182b1',
    500: '#2d5290',
    950: '#000000',
  },
}
SCSS
$custom: #2d5290;
$custom-light: #7182b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5290",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 217.576,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.11068,
    "h": 260.1
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#2D5290
secondary
#B69762
accent
#A64CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5290

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

Preview Lab → · Contrast checker → · Palette generator →

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