#2C5286#2C5286

#2C5286 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.097 H 256.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2C5286
RGBrgb(44, 82, 134)
HSLhsl(215, 51%, 35%)
HSVhsv(215, 67%, 53%)
CMYKcmyk(67.2%, 38.8%, 0%, 47.5%)
CIE-LABlab(34.58, 4.32, -33.12)
CIE-LCHlch(34.58, 33.40, 277.43°)
OKLaboklab(43.71% -0.0222 -0.0941)
OKLCHoklch(43.71% 0.097 256.7)
XYZxyz(8.3575, 8.2905, 23.7094)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5286 #86602C
analogous
#2C7F86 #2C5286 #332C86
triadic
#2C5286 #862C52 #52862C
tetradic
#2C5286 #862C7F #86602C #2C8633
square
#2C5286 #862C7F #86602C #2C8633
split-complementary
#2C5286 #86332C #7F862C
monochromatic
#0E1A2A #1D3658 #2C5286 #3B6EB4 #618ECB

Accessibility & contrast

On white

7.90
#2C5286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C5286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5286
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5286#FFFFFF#000000##FFFFFF
##2C52861.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5286;
/* rgb */ color: rgb(44, 82, 134);
/* oklch */ color: oklch(43.7% 0.097 256.7);
Tailwind
colors: {
  custom: {
    50: '#6f82a9',
    500: '#2c5286',
    950: '#000000',
  },
}
SCSS
$custom: #2c5286;
$custom-light: #6f82a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5286",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 214.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43707,
    "c": 0.09669,
    "h": 256.7
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#2C5286
secondary
#B18E5C
accent
#9F4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C5286

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

Preview Lab → · Contrast checker → · Palette generator →

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