#2C5F9A#2C5F9A

#2C5F9A is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.0% C 0.110 H 253.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2C5F9A
RGBrgb(44, 95, 154)
HSLhsl(212, 56%, 39%)
HSVhsv(212, 71%, 60%)
CMYKcmyk(71.4%, 38.3%, 0%, 39.6%)
CIE-LABlab(39.67, 3.43, -37.16)
CIE-LCHlch(39.67, 37.32, 275.28°)
OKLaboklab(48.04% -0.0306 -0.1058)
OKLCHoklch(48.04% 0.11 253.8)
XYZxyz(10.9615, 11.0518, 32.1211)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F9A #9A672C
analogous
#2C969A #2C5F9A #302C9A
triadic
#2C5F9A #9A2C5F #5F9A2C
tetradic
#2C5F9A #9A2C96 #9A672C #2C9A30
square
#2C5F9A #9A2C96 #9A672C #2C9A30
split-complementary
#2C5F9A #9A302C #969A2C
monochromatic
#11243B #1E426A #2C5F9A #3C7DC7 #6C9CD5

Accessibility & contrast

On white

6.54
#2C5F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2C5F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F9A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F9A#FFFFFF#000000##FFFFFF
##2C5F9A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639C
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5f9a;
/* rgb */ color: rgb(44, 95, 154);
/* oklch */ color: oklch(48.0% 0.110 253.8);
Tailwind
colors: {
  custom: {
    50: '#738cb8',
    500: '#2c5f9a',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f9a;
$custom-light: #738cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f9a",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 154
  },
  "hsl": {
    "h": 212.182,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48041,
    "c": 0.11011,
    "h": 253.8
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#2C5F9A
secondary
#BC9466
accent
#9949DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2C5F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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