#2C5EB0#2C5EB0

#2C5EB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.142 H 259.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2C5EB0
RGBrgb(44, 94, 176)
HSLhsl(217, 60%, 43%)
HSVhsv(217, 75%, 69%)
CMYKcmyk(75%, 46.6%, 0%, 31%)
CIE-LABlab(40.69, 12.42, -48.58)
CIE-LCHlch(40.69, 50.14, 284.34°)
OKLaboklab(49.26% -0.025 -0.1393)
OKLCHoklch(49.26% 0.142 259.8)
XYZxyz(12.8750, 11.6740, 42.6406)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EB0 #B07E2C
analogous
#2CA0B0 #2C5EB0 #3C2CB0
triadic
#2C5EB0 #B02C5E #5EB02C
tetradic
#2C5EB0 #B02CA0 #B07E2C #2CB03C
square
#2C5EB0 #B02CA0 #B07E2C #2CB03C
split-complementary
#2C5EB0 #B03C2C #A0B02C
monochromatic
#142A4E #20447F #2C5EB0 #487CD1 #799FDD

Accessibility & contrast

On white

6.30
#2C5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C5EB0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EB0#FFFFFF#000000##FFFFFF
##2C5EB01.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B3
Deuteranopia (green-blind)
#135AAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5eb0;
/* rgb */ color: rgb(44, 94, 176);
/* oklch */ color: oklch(49.3% 0.142 259.8);
Tailwind
colors: {
  custom: {
    50: '#778bc8',
    500: '#2c5eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eb0;
$custom-light: #778bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eb0",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 217.273,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.14154,
    "h": 259.8
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#2C5EB0
secondary
#C6A672
accent
#A745E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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