#2C5097#2C5097

#2C5097 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.124 H 262.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2C5097
RGBrgb(44, 80, 151)
HSLhsl(220, 55%, 38%)
HSVhsv(220, 71%, 59%)
CMYKcmyk(70.9%, 47%, 0%, 40.8%)
CIE-LABlab(35.02, 12.08, -42.78)
CIE-LCHlch(35.02, 44.45, 285.76°)
OKLaboklab(44.38% -0.0165 -0.1225)
OKLCHoklch(44.38% 0.124 262.3)
XYZxyz(9.4913, 8.5062, 30.4138)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5097 #97732C
analogous
#2C8597 #2C5097 #3D2C97
triadic
#2C5097 #972C50 #50972C
tetradic
#2C5097 #972C85 #97732C #2C973D
square
#2C5097 #972C85 #97732C #2C973D
split-complementary
#2C5097 #973D2C #85972C
monochromatic
#101E38 #1E3768 #2C5097 #3A69C6 #6A8DD4

Accessibility & contrast

On white

7.77
#2C5097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2C5097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5097
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5097#FFFFFF#000000##FFFFFF
##2C50971.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5097;
/* rgb */ color: rgb(44, 80, 151);
/* oklch */ color: oklch(44.4% 0.124 262.3);
Tailwind
colors: {
  custom: {
    50: '#7280b6',
    500: '#2c5097',
    950: '#000000',
  },
}
SCSS
$custom: #2c5097;
$custom-light: #7280b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5097",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 219.813,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44379,
    "c": 0.12362,
    "h": 262.3
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#2C5097
secondary
#BA9D65
accent
#AC4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5097

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

Preview Lab → · Contrast checker → · Palette generator →

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