#2D5292#2D5292

#2D5292 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.114 H 260.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2D5292
RGBrgb(45, 82, 146)
HSLhsl(218, 53%, 37%)
HSVhsv(218, 69%, 57%)
CMYKcmyk(69.2%, 43.8%, 0%, 42.7%)
CIE-LABlab(35.33, 9.01, -39.24)
CIE-LCHlch(35.33, 40.26, 282.94°)
OKLaboklab(44.54% -0.0186 -0.112)
OKLCHoklch(44.54% 0.114 260.6)
XYZxyz(9.2859, 8.6669, 28.3721)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5292 #926D2D
analogous
#2D8592 #2D5292 #3B2D92
triadic
#2D5292 #922D52 #52922D
tetradic
#2D5292 #922D85 #926D2D #2D923B
square
#2D5292 #922D85 #926D2D #2D923B
split-complementary
#2D5292 #923B2D #85922D
monochromatic
#101D34 #1F3863 #2D5292 #3B6CC1 #698FD1

Accessibility & contrast

On white

7.68
#2D5292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D5292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5292
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5292#FFFFFF#000000##FFFFFF
##2D52921.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#234F91
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5292;
/* rgb */ color: rgb(45, 82, 146);
/* oklch */ color: oklch(44.5% 0.114 260.6);
Tailwind
colors: {
  custom: {
    50: '#7282b2',
    500: '#2d5292',
    950: '#000000',
  },
}
SCSS
$custom: #2d5292;
$custom-light: #7282b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5292",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 218.02,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.11357,
    "h": 260.6
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#2D5292
secondary
#B79963
accent
#A74CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5292

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

Preview Lab → · Contrast checker → · Palette generator →

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