#2C5F94#2C5F94

#2C5F94 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.102 H 251.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2C5F94
RGBrgb(44, 95, 148)
HSLhsl(211, 54%, 38%)
HSVhsv(211, 70%, 58%)
CMYKcmyk(70.3%, 35.8%, 0%, 42%)
CIE-LABlab(39.34, 1.19, -34.08)
CIE-LCHlch(39.34, 34.10, 272.00°)
OKLaboklab(47.68% -0.0323 -0.0968)
OKLCHoklch(47.68% 0.102 251.6)
XYZxyz(10.4742, 10.8569, 29.5548)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F94 #94612C
analogous
#2C9394 #2C5F94 #2D2C94
triadic
#2C5F94 #942C5F #5F942C
tetradic
#2C5F94 #942C93 #94612C #2C942D
square
#2C5F94 #942C93 #94612C #2C942D
split-complementary
#2C5F94 #942D2C #93942C
monochromatic
#102236 #1E4165 #2C5F94 #3A7DC3 #689CD2

Accessibility & contrast

On white

6.62
#2C5F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2C5F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F94
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F94#FFFFFF#000000##FFFFFF
##2C5F941.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476296
Deuteranopia (green-blind)
#395893
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5f94;
/* rgb */ color: rgb(44, 95, 148);
/* oklch */ color: oklch(47.7% 0.102 251.6);
Tailwind
colors: {
  custom: {
    50: '#728cb3',
    500: '#2c5f94',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f94;
$custom-light: #728cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f94",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 210.577,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.102,
    "h": 251.6
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#2C5F94
secondary
#B98F63
accent
#954ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2C5F94

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

Preview Lab → · Contrast checker → · Palette generator →

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