#2C5698#2C5698

#2C5698 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.118 H 259.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2C5698
RGBrgb(44, 86, 152)
HSLhsl(217, 55%, 38%)
HSVhsv(217, 71%, 60%)
CMYKcmyk(71.1%, 43.4%, 0%, 40.4%)
CIE-LABlab(36.85, 8.49, -40.45)
CIE-LCHlch(36.85, 41.33, 281.86°)
OKLaboklab(45.81% -0.0222 -0.1155)
OKLCHoklch(45.81% 0.118 259.1)
XYZxyz(10.0319, 9.4570, 30.9964)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5698 #986E2C
analogous
#2C8C98 #2C5698 #382C98
triadic
#2C5698 #982C56 #56982C
tetradic
#2C5698 #982C8C #986E2C #2C9838
square
#2C5698 #982C8C #986E2C #2C9838
split-complementary
#2C5698 #98382C #8C982C
monochromatic
#112039 #1E3B69 #2C5698 #3B71C6 #6A93D4

Accessibility & contrast

On white

7.26
#2C5698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2C5698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5698
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5698#FFFFFF#000000##FFFFFF
##2C56981.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c5698;
/* rgb */ color: rgb(44, 86, 152);
/* oklch */ color: oklch(45.8% 0.118 259.1);
Tailwind
colors: {
  custom: {
    50: '#7385b7',
    500: '#2c5698',
    950: '#000000',
  },
}
SCSS
$custom: #2c5698;
$custom-light: #7385b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5698",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 216.667,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.11766,
    "h": 259.1
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#2C5698
secondary
#BB9965
accent
#A449DE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5698

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

Preview Lab → · Contrast checker → · Palette generator →

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