#2C5FA0#2C5FA0

#2C5FA0 is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.4% C 0.118 H 255.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2C5FA0
RGBrgb(44, 95, 160)
HSLhsl(214, 57%, 40%)
HSVhsv(214, 73%, 63%)
CMYKcmyk(72.5%, 40.6%, 0%, 37.3%)
CIE-LABlab(40.01, 5.69, -40.20)
CIE-LCHlch(40.01, 40.60, 278.06°)
OKLaboklab(48.42% -0.0292 -0.1147)
OKLCHoklch(48.42% 0.118 255.7)
XYZxyz(11.4737, 11.2567, 34.8190)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FA0 #A06D2C
analogous
#2C99A0 #2C5FA0 #332CA0
triadic
#2C5FA0 #A02C5F #5FA02C
tetradic
#2C5FA0 #A02C99 #A06D2C #2CA033
square
#2C5FA0 #A02C99 #A06D2C #2CA033
split-complementary
#2C5FA0 #A0332C #99A02C
monochromatic
#122640 #1F4270 #2C5FA0 #3F7CCA #6F9DD7

Accessibility & contrast

On white

6.46
#2C5FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2C5FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FA0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FA0#FFFFFF#000000##FFFFFF
##2C5FA01.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A3
Deuteranopia (green-blind)
#2E599F
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5fa0;
/* rgb */ color: rgb(44, 95, 160);
/* oklch */ color: oklch(48.4% 0.118 255.7);
Tailwind
colors: {
  custom: {
    50: '#748cbc',
    500: '#2c5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fa0;
$custom-light: #748cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fa0",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 213.621,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.48419,
    "c": 0.11832,
    "h": 255.7
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#2C5FA0
secondary
#BF9969
accent
#9D48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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