#2C5C97#2C5C97

#2C5C97 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.109 H 254.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2C5C97
RGBrgb(44, 92, 151)
HSLhsl(213, 55%, 38%)
HSVhsv(213, 71%, 59%)
CMYKcmyk(70.9%, 39.1%, 0%, 40.8%)
CIE-LABlab(38.59, 4.22, -37.07)
CIE-LCHlch(38.59, 37.31, 276.50°)
OKLaboklab(47.15% -0.0284 -0.1055)
OKLCHoklch(47.15% 0.109 254.9)
XYZxyz(10.4497, 10.4230, 30.7333)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C97 #97672C
analogous
#2C9197 #2C5C97 #312C97
triadic
#2C5C97 #972C5C #5C972C
tetradic
#2C5C97 #972C91 #97672C #2C9731
square
#2C5C97 #972C91 #97672C #2C9731
split-complementary
#2C5C97 #97312C #91972C
monochromatic
#102238 #1E3F68 #2C5C97 #3A79C6 #6A99D4

Accessibility & contrast

On white

6.81
#2C5C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2C5C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5C97
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C97#FFFFFF#000000##FFFFFF
##2C5C971.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c5c97;
/* rgb */ color: rgb(44, 92, 151);
/* oklch */ color: oklch(47.1% 0.109 254.9);
Tailwind
colors: {
  custom: {
    50: '#7289b6',
    500: '#2c5c97',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c97;
$custom-light: #7289b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c97",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 213.084,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47146,
    "c": 0.1093,
    "h": 254.9
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#2C5C97
secondary
#BA9465
accent
#9C4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5C97

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

Preview Lab → · Contrast checker → · Palette generator →

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