#2D5092#2D5092

#2D5092 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.116 H 261.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2D5092
RGBrgb(45, 80, 146)
HSLhsl(219, 53%, 37%)
HSVhsv(219, 69%, 57%)
CMYKcmyk(69.2%, 45.2%, 0%, 42.7%)
CIE-LABlab(34.74, 10.34, -40.18)
CIE-LCHlch(34.74, 41.49, 284.43°)
OKLaboklab(44.08% -0.0166 -0.1149)
OKLCHoklch(44.08% 0.116 261.8)
XYZxyz(9.1373, 8.3696, 28.3225)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5092 #926F2D
analogous
#2D8392 #2D5092 #3C2D92
triadic
#2D5092 #922D50 #50922D
tetradic
#2D5092 #922D83 #926F2D #2D923C
square
#2D5092 #922D83 #926F2D #2D923C
split-complementary
#2D5092 #923C2D #83922D
monochromatic
#101D34 #1F3663 #2D5092 #3B6AC1 #698DD1

Accessibility & contrast

On white

7.85
#2D5092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D5092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5092
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5092#FFFFFF#000000##FFFFFF
##2D50921.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#1E4D91
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5092;
/* rgb */ color: rgb(45, 80, 146);
/* oklch */ color: oklch(44.1% 0.116 261.8);
Tailwind
colors: {
  custom: {
    50: '#7280b2',
    500: '#2d5092',
    950: '#000000',
  },
}
SCSS
$custom: #2d5092;
$custom-light: #7280b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5092",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 146
  },
  "hsl": {
    "h": 219.208,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.11605,
    "h": 261.8
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#2D5092
secondary
#B79A63
accent
#AA4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5092

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

Preview Lab → · Contrast checker → · Palette generator →

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