#2C5598#2C5598

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

Color values

HEX#2C5598
RGBrgb(44, 85, 152)
HSLhsl(217, 55%, 38%)
HSVhsv(217, 71%, 60%)
CMYKcmyk(71.1%, 44.1%, 0%, 40.4%)
CIE-LABlab(36.55, 9.15, -40.92)
CIE-LCHlch(36.55, 41.93, 282.60°)
OKLaboklab(45.58% -0.0212 -0.117)
OKLCHoklch(45.58% 0.119 259.7)
XYZxyz(9.9527, 9.2984, 30.9699)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5598 #986F2C
analogous
#2C8B98 #2C5598 #392C98
triadic
#2C5598 #982C55 #55982C
tetradic
#2C5598 #982C8B #986F2C #2C9839
square
#2C5598 #982C8B #986F2C #2C9839
split-complementary
#2C5598 #98392C #8B982C
monochromatic
#112039 #1E3A69 #2C5598 #3B70C6 #6A92D4

Accessibility & contrast

On white

7.34
#2C5598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5598
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5598#FFFFFF#000000##FFFFFF
##2C55981.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5598;
/* rgb */ color: rgb(44, 85, 152);
/* oklch */ color: oklch(45.6% 0.119 259.7);
Tailwind
colors: {
  custom: {
    50: '#7384b7',
    500: '#2c5598',
    950: '#000000',
  },
}
SCSS
$custom: #2c5598;
$custom-light: #7384b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5598",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 152
  },
  "hsl": {
    "h": 217.222,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.11886,
    "h": 259.7
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#2C5598
secondary
#BB9A65
accent
#A649DE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5598

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

Preview Lab → · Contrast checker → · Palette generator →

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