#2C5FAF#2C5FAF

#2C5FAF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.139 H 259.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2C5FAF
RGBrgb(44, 95, 175)
HSLhsl(217, 60%, 43%)
HSVhsv(217, 75%, 69%)
CMYKcmyk(74.9%, 45.7%, 0%, 31.4%)
CIE-LABlab(40.92, 11.39, -47.63)
CIE-LCHlch(40.92, 48.97, 283.45°)
OKLaboklab(49.42% -0.0261 -0.1365)
OKLCHoklch(49.42% 0.139 259.2)
XYZxyz(12.8660, 11.8136, 42.1513)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FAF #AF7C2C
analogous
#2CA0AF #2C5FAF #3A2CAF
triadic
#2C5FAF #AF2C5F #5FAF2C
tetradic
#2C5FAF #AF2CA0 #AF7C2C #2CAF3A
square
#2C5FAF #AF2CA0 #AF7C2C #2CAF3A
split-complementary
#2C5FAF #AF3A2C #A0AF2C
monochromatic
#132A4D #20447E #2C5FAF #477DD1 #78A0DD

Accessibility & contrast

On white

6.24
#2C5FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2C5FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FAF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FAF#FFFFFF#000000##FFFFFF
##2C5FAF1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5faf;
/* rgb */ color: rgb(44, 95, 175);
/* oklch */ color: oklch(49.4% 0.139 259.2);
Tailwind
colors: {
  custom: {
    50: '#778bc7',
    500: '#2c5faf',
    950: '#000000',
  },
}
SCSS
$custom: #2c5faf;
$custom-light: #778bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5faf",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 216.641,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.13897,
    "h": 259.2
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#2C5FAF
secondary
#C5A572
accent
#A545E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C5FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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