#2C5F8A#2C5F8A

#2C5F8A is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.1% C 0.089 H 246.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2C5F8A
RGBrgb(44, 95, 138)
HSLhsl(207, 52%, 36%)
HSVhsv(207, 68%, 54%)
CMYKcmyk(68.1%, 31.2%, 0%, 45.9%)
CIE-LABlab(38.82, -2.50, -28.87)
CIE-LCHlch(38.82, 28.98, 265.06°)
OKLaboklab(47.1% -0.0353 -0.0816)
OKLCHoklch(47.1% 0.089 246.6)
XYZxyz(9.7166, 10.5539, 25.5649)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F8A #8A572C
analogous
#2C8A86 #2C5F8A #2C308A
triadic
#2C5F8A #8A2C5F #5F8A2C
tetradic
#2C5F8A #862C8A #8A572C #308A2C
square
#2C5F8A #862C8A #8A572C #308A2C
split-complementary
#2C5F8A #8A2C30 #8A862C
monochromatic
#0E1F2D #1D3F5C #2C5F8A #3B7FB8 #639DCD

Accessibility & contrast

On white

6.75
#2C5F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2C5F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F8A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F8A#FFFFFF#000000##FFFFFF
##2C5F8A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c5f8a;
/* rgb */ color: rgb(44, 95, 138);
/* oklch */ color: oklch(47.1% 0.089 246.6);
Tailwind
colors: {
  custom: {
    50: '#708cac',
    500: '#2c5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f8a;
$custom-light: #708cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f8a",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 207.447,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.08886,
    "h": 246.6
  },
  "luminance": 0.10555
}

Semantic roles & 50–950 ramp

primary
#2C5F8A
secondary
#B4855E
accent
#8E4DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2C5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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