#2C5894#2C5894

#2C5894 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.0% C 0.110 H 256.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2C5894
RGBrgb(44, 88, 148)
HSLhsl(215, 54%, 38%)
HSVhsv(215, 70%, 58%)
CMYKcmyk(70.3%, 40.5%, 0%, 42%)
CIE-LABlab(37.21, 5.67, -37.46)
CIE-LCHlch(37.21, 37.89, 278.61°)
OKLaboklab(46.02% -0.0251 -0.1067)
OKLCHoklch(46.02% 0.11 256.8)
XYZxyz(9.8718, 9.6520, 29.3540)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5894 #94682C
analogous
#2C8C94 #2C5894 #342C94
triadic
#2C5894 #942C58 #58942C
tetradic
#2C5894 #942C8C #94682C #2C9434
square
#2C5894 #942C8C #94682C #2C9434
split-complementary
#2C5894 #94342C #8C942C
monochromatic
#102036 #1E3C65 #2C5894 #3A74C3 #6895D2

Accessibility & contrast

On white

7.17
#2C5894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2C5894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5894
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5894#FFFFFF#000000##FFFFFF
##2C58941.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D96
Deuteranopia (green-blind)
#2D5393
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c5894;
/* rgb */ color: rgb(44, 88, 148);
/* oklch */ color: oklch(46.0% 0.110 256.8);
Tailwind
colors: {
  custom: {
    50: '#7286b4',
    500: '#2c5894',
    950: '#000000',
  },
}
SCSS
$custom: #2c5894;
$custom-light: #7286b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5894",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 214.615,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.10964,
    "h": 256.8
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#2C5894
secondary
#B99463
accent
#9F4ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5894

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

Preview Lab → · Contrast checker → · Palette generator →

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