#2C5CB9#2C5CB9

#2C5CB9 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.156 H 261.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2C5CB9
RGBrgb(44, 92, 185)
HSLhsl(220, 62%, 45%)
HSVhsv(220, 76%, 73%)
CMYKcmyk(76.2%, 50.3%, 0%, 27.5%)
CIE-LABlab(40.72, 17.16, -53.81)
CIE-LCHlch(40.72, 56.48, 287.69°)
OKLaboklab(49.48% -0.022 -0.1548)
OKLCHoklch(49.48% 0.156 261.9)
XYZxyz(13.6197, 11.6910, 47.4283)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CB9 #B9892C
analogous
#2CA3B9 #2C5CB9 #422CB9
triadic
#2C5CB9 #B92C5C #5CB92C
tetradic
#2C5CB9 #B92CA3 #B9892C #2CB942
square
#2C5CB9 #B92CA3 #B9892C #2CB942
split-complementary
#2C5CB9 #B9422C #A3B92C
monochromatic
#142B56 #204388 #2C5CB9 #4D7CD5 #7FA0E1

Accessibility & contrast

On white

6.29
#2C5CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2C5CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CB9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CB9#FFFFFF#000000##FFFFFF
##2C5CB91.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BC
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5cb9;
/* rgb */ color: rgb(44, 92, 185);
/* oklch */ color: oklch(49.5% 0.156 261.9);
Tailwind
colors: {
  custom: {
    50: '#7989cf',
    500: '#2c5cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cb9;
$custom-light: #7989cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cb9",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 219.574,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.15631,
    "h": 261.9
  },
  "luminance": 0.11693
}

Semantic roles & 50–950 ramp

primary
#2C5CB9
secondary
#C9AD78
accent
#AE43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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