#2C5DBF#2C5DBF

#2C5DBF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.163 H 262.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2C5DBF
RGBrgb(44, 93, 191)
HSLhsl(220, 63%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(77%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.41, 18.80, -56.20)
CIE-LCHlch(41.41, 59.26, 288.49°)
OKLaboklab(50.14% -0.022 -0.1617)
OKLCHoklch(50.14% 0.163 262.2)
XYZxyz(14.3537, 12.1241, 50.8638)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DBF #BF8E2C
analogous
#2CA6BF #2C5DBF #442CBF
triadic
#2C5DBF #BF2C5D #5DBF2C
tetradic
#2C5DBF #BF2CA6 #BF8E2C #2CBF44
square
#2C5DBF #BF2CA6 #BF8E2C #2CBF44
split-complementary
#2C5DBF #BF442C #A6BF2C
monochromatic
#152D5C #21458D #2C5DBF #517ED7 #83A3E2

Accessibility & contrast

On white

6.13
#2C5DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2C5DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DBF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DBF#FFFFFF#000000##FFFFFF
##2C5DBF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c5dbf;
/* rgb */ color: rgb(44, 93, 191);
/* oklch */ color: oklch(50.1% 0.163 262.2);
Tailwind
colors: {
  custom: {
    50: '#7b8ad3',
    500: '#2c5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dbf;
$custom-light: #7b8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dbf",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 220,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.16324,
    "h": 262.2
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#2C5DBF
secondary
#CCB17B
accent
#AF42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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