#2C5FA9#2C5FA9

#2C5FA9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.0% C 0.131 H 258.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2C5FA9
RGBrgb(44, 95, 169)
HSLhsl(216, 59%, 42%)
HSVhsv(216, 74%, 66%)
CMYKcmyk(74%, 43.8%, 0%, 33.7%)
CIE-LABlab(40.55, 9.10, -44.68)
CIE-LCHlch(40.55, 45.60, 281.52°)
OKLaboklab(49.01% -0.0272 -0.1278)
OKLCHoklch(49.01% 0.131 258)
XYZxyz(12.2897, 11.5831, 39.1165)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FA9 #A9762C
analogous
#2C9EA9 #2C5FA9 #382CA9
triadic
#2C5FA9 #A92C5F #5FA92C
tetradic
#2C5FA9 #A92C9E #A9762C #2CA938
square
#2C5FA9 #A92C9E #A9762C #2CA938
split-complementary
#2C5FA9 #A9382C #9EA92C
monochromatic
#132848 #1F4478 #2C5FA9 #447CCE #749EDB

Accessibility & contrast

On white

6.33
#2C5FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2C5FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FA9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FA9#FFFFFF#000000##FFFFFF
##2C5FA91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AC
Deuteranopia (green-blind)
#245AA8
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5fa9;
/* rgb */ color: rgb(44, 95, 169);
/* oklch */ color: oklch(49.0% 0.131 258.0);
Tailwind
colors: {
  custom: {
    50: '#768bc3',
    500: '#2c5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fa9;
$custom-light: #768bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fa9",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 215.52,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49009,
    "c": 0.1307,
    "h": 258
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#2C5FA9
secondary
#C3A06E
accent
#A246E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2C5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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