#2C5399#2C5399

#2C5399 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.123 H 261.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2C5399
RGBrgb(44, 83, 153)
HSLhsl(219, 55%, 39%)
HSVhsv(219, 71%, 60%)
CMYKcmyk(71.2%, 45.8%, 0%, 40%)
CIE-LABlab(36.02, 10.85, -42.37)
CIE-LCHlch(36.02, 43.74, 284.36°)
OKLaboklab(45.2% -0.019 -0.1212)
OKLCHoklch(45.2% 0.123 261.1)
XYZxyz(9.8797, 9.0209, 31.3513)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5399 #99722C
analogous
#2C8999 #2C5399 #3B2C99
triadic
#2C5399 #992C53 #53992C
tetradic
#2C5399 #992C89 #99722C #2C993B
square
#2C5399 #992C89 #99722C #2C993B
split-complementary
#2C5399 #993B2C #89992C
monochromatic
#111F3A #1E3969 #2C5399 #3B6DC7 #6B91D4

Accessibility & contrast

On white

7.49
#2C5399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2C5399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5399
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5399#FFFFFF#000000##FFFFFF
##2C53991.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c5399;
/* rgb */ color: rgb(44, 83, 153);
/* oklch */ color: oklch(45.2% 0.123 261.1);
Tailwind
colors: {
  custom: {
    50: '#7382b7',
    500: '#2c5399',
    950: '#000000',
  },
}
SCSS
$custom: #2c5399;
$custom-light: #7382b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5399",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 218.532,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.12274,
    "h": 261.1
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#2C5399
secondary
#BB9D66
accent
#A949DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5399

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

Preview Lab → · Contrast checker → · Palette generator →

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