#2C5FA1#2C5FA1

#2C5FA1 is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.5% C 0.120 H 256.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2C5FA1
RGBrgb(44, 95, 161)
HSLhsl(214, 57%, 40%)
HSVhsv(214, 73%, 63%)
CMYKcmyk(72.7%, 41%, 0%, 36.9%)
CIE-LABlab(40.07, 6.07, -40.70)
CIE-LCHlch(40.07, 41.15, 278.48°)
OKLaboklab(48.48% -0.0289 -0.1161)
OKLCHoklch(48.48% 0.12 256)
XYZxyz(11.5616, 11.2918, 35.2815)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FA1 #A16E2C
analogous
#2C99A1 #2C5FA1 #332CA1
triadic
#2C5FA1 #A12C5F #5FA12C
tetradic
#2C5FA1 #A12C99 #A16E2C #2CA133
square
#2C5FA1 #A12C99 #A16E2C #2CA133
split-complementary
#2C5FA1 #A1332C #99A12C
monochromatic
#122641 #1F4371 #2C5FA1 #407CCB #709DD8

Accessibility & contrast

On white

6.44
#2C5FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2C5FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FA1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FA1#FFFFFF#000000##FFFFFF
##2C5FA11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5fa1;
/* rgb */ color: rgb(44, 95, 161);
/* oklch */ color: oklch(48.5% 0.120 256.0);
Tailwind
colors: {
  custom: {
    50: '#748bbd',
    500: '#2c5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fa1;
$custom-light: #748bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fa1",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 213.846,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.1197,
    "h": 256
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#2C5FA1
secondary
#BF9A6A
accent
#9E47E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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