#2D5598#2D5598

#2D5598 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.119 H 260.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2D5598
RGBrgb(45, 85, 152)
HSLhsl(218, 54%, 39%)
HSVhsv(218, 70%, 60%)
CMYKcmyk(70.4%, 44.1%, 0%, 40.4%)
CIE-LABlab(36.59, 9.31, -40.85)
CIE-LCHlch(36.59, 41.90, 282.84°)
OKLaboklab(45.63% -0.0204 -0.1167)
OKLCHoklch(45.63% 0.119 260.1)
XYZxyz(9.9962, 9.3209, 30.9720)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5598 #98702D
analogous
#2D8A98 #2D5598 #3A2D98
triadic
#2D5598 #982D55 #55982D
tetradic
#2D5598 #982D8A #98702D #2D983A
square
#2D5598 #982D8A #98702D #2D983A
split-complementary
#2D5598 #983A2D #8A982D
monochromatic
#11203A #1F3B69 #2D5598 #3D70C5 #6C93D3

Accessibility & contrast

On white

7.33
#2D5598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D5598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5598
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5598#FFFFFF#000000##FFFFFF
##2D55981.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9B
Deuteranopia (green-blind)
#225297
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5598;
/* rgb */ color: rgb(45, 85, 152);
/* oklch */ color: oklch(45.6% 0.119 260.1);
Tailwind
colors: {
  custom: {
    50: '#7384b7',
    500: '#2d5598',
    950: '#000000',
  },
}
SCSS
$custom: #2d5598;
$custom-light: #7384b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5598",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 152
  },
  "hsl": {
    "h": 217.57,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.11851,
    "h": 260.1
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#2D5598
secondary
#BA9B66
accent
#A74ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D5598

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

Preview Lab → · Contrast checker → · Palette generator →

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