#2D5592#2D5592

#2D5592 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.110 H 258.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2D5592
RGBrgb(45, 85, 146)
HSLhsl(216, 53%, 37%)
HSVhsv(216, 69%, 57%)
CMYKcmyk(69.2%, 41.8%, 0%, 42.7%)
CIE-LABlab(36.23, 7.04, -37.80)
CIE-LCHlch(36.23, 38.45, 280.55°)
OKLaboklab(45.23% -0.0216 -0.1078)
OKLCHoklch(45.23% 0.11 258.6)
XYZxyz(9.5171, 9.1292, 28.4491)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5592 #926A2D
analogous
#2D8792 #2D5592 #382D92
triadic
#2D5592 #922D55 #55922D
tetradic
#2D5592 #922D87 #926A2D #2D9238
square
#2D5592 #922D87 #926A2D #2D9238
split-complementary
#2D5592 #92382D #87922D
monochromatic
#101F34 #1F3A63 #2D5592 #3B70C1 #6992D1

Accessibility & contrast

On white

7.43
#2D5592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D5592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5592
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5592#FFFFFF#000000##FFFFFF
##2D55921.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#295191
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d5592;
/* rgb */ color: rgb(45, 85, 146);
/* oklch */ color: oklch(45.2% 0.110 258.6);
Tailwind
colors: {
  custom: {
    50: '#7284b2',
    500: '#2d5592',
    950: '#000000',
  },
}
SCSS
$custom: #2d5592;
$custom-light: #7284b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5592",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 146
  },
  "hsl": {
    "h": 216.238,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45229,
    "c": 0.10994,
    "h": 258.6
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#2D5592
secondary
#B79663
accent
#A34CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5592

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

Preview Lab → · Contrast checker → · Palette generator →

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