#2C5FA2#2C5FA2

#2C5FA2 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.5% C 0.121 H 256.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2C5FA2
RGBrgb(44, 95, 162)
HSLhsl(214, 57%, 40%)
HSVhsv(214, 73%, 64%)
CMYKcmyk(72.8%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.13, 6.45, -41.20)
CIE-LCHlch(40.13, 41.70, 278.89°)
OKLaboklab(48.55% -0.0287 -0.1176)
OKLCHoklch(48.55% 0.121 256.3)
XYZxyz(11.6501, 11.3273, 35.7478)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FA2 #A26F2C
analogous
#2C9AA2 #2C5FA2 #342CA2
triadic
#2C5FA2 #A22C5F #5FA22C
tetradic
#2C5FA2 #A22C9A #A26F2C #2CA234
square
#2C5FA2 #A22C9A #A26F2C #2CA234
split-complementary
#2C5FA2 #A2342C #9AA22C
monochromatic
#122742 #1F4372 #2C5FA2 #407CCB #709DD8

Accessibility & contrast

On white

6.43
#2C5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2C5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FA2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FA2#FFFFFF#000000##FFFFFF
##2C5FA21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5fa2;
/* rgb */ color: rgb(44, 95, 162);
/* oklch */ color: oklch(48.5% 0.121 256.3);
Tailwind
colors: {
  custom: {
    50: '#748bbe',
    500: '#2c5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fa2;
$custom-light: #748bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fa2",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 214.068,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.12107,
    "h": 256.3
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#2C5FA2
secondary
#BF9B6A
accent
#9E47E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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