#2C5DB2#2C5DB2

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

Color values

HEX#2C5DB2
RGBrgb(44, 93, 178)
HSLhsl(218, 60%, 44%)
HSVhsv(218, 75%, 70%)
CMYKcmyk(75.3%, 47.8%, 0%, 30.2%)
CIE-LABlab(40.54, 13.83, -50.01)
CIE-LCHlch(40.54, 51.89, 285.46°)
OKLaboklab(49.18% -0.0238 -0.1435)
OKLCHoklch(49.18% 0.146 260.6)
XYZxyz(12.9860, 11.5771, 43.6610)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DB2 #B2812C
analogous
#2CA0B2 #2C5DB2 #3E2CB2
triadic
#2C5DB2 #B22C5D #5DB22C
tetradic
#2C5DB2 #B22CA0 #B2812C #2CB23E
square
#2C5DB2 #B22CA0 #B2812C #2CB23E
split-complementary
#2C5DB2 #B23E2C #A0B22C
monochromatic
#142A50 #204381 #2C5DB2 #497BD2 #7A9FDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5DB2#FFFFFF#000000##FFFFFF
##2C5DB21.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)
#2E66B5
Deuteranopia (green-blind)
#065AB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5db2;
/* rgb */ color: rgb(44, 93, 178);
/* oklch */ color: oklch(49.2% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#788aca',
    500: '#2c5db2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5db2;
$custom-light: #788aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5db2",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 218.06,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.1455,
    "h": 260.6
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#2C5DB2
secondary
#C6A873
accent
#A944E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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