#2C5EB2#2C5EB2

#2C5EB2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.144 H 260.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2C5EB2
RGBrgb(44, 94, 178)
HSLhsl(218, 60%, 44%)
HSVhsv(218, 75%, 70%)
CMYKcmyk(75.3%, 47.2%, 0%, 30.2%)
CIE-LABlab(40.82, 13.18, -49.55)
CIE-LCHlch(40.82, 51.27, 284.90°)
OKLaboklab(49.4% -0.0247 -0.1422)
OKLCHoklch(49.4% 0.144 260.2)
XYZxyz(13.0744, 11.7538, 43.6905)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EB2 #B2802C
analogous
#2CA1B2 #2C5EB2 #3D2CB2
triadic
#2C5EB2 #B22C5E #5EB22C
tetradic
#2C5EB2 #B22CA1 #B2802C #2CB23D
square
#2C5EB2 #B22CA1 #B2802C #2CB23D
split-complementary
#2C5EB2 #B23D2C #A1B22C
monochromatic
#142A50 #204481 #2C5EB2 #497CD2 #7AA0DE

Accessibility & contrast

On white

6.27
#2C5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2C5EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EB2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EB2#FFFFFF#000000##FFFFFF
##2C5EB21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#0D5BB0
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5eb2;
/* rgb */ color: rgb(44, 94, 178);
/* oklch */ color: oklch(49.4% 0.144 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bc9',
    500: '#2c5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eb2;
$custom-light: #788bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eb2",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 217.612,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49404,
    "c": 0.14428,
    "h": 260.2
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#2C5EB2
secondary
#C6A773
accent
#A844E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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