#2C5EB3#2C5EB3

#2C5EB3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.146 H 260.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2C5EB3
RGBrgb(44, 94, 179)
HSLhsl(218, 61%, 44%)
HSVhsv(218, 75%, 70%)
CMYKcmyk(75.4%, 47.5%, 0%, 29.8%)
CIE-LABlab(40.89, 13.56, -50.03)
CIE-LCHlch(40.89, 51.84, 285.17°)
OKLaboklab(49.48% -0.0245 -0.1436)
OKLCHoklch(49.48% 0.146 260.3)
XYZxyz(13.1752, 11.7941, 44.2212)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EB3 #B3812C
analogous
#2CA1B3 #2C5EB3 #3D2CB3
triadic
#2C5EB3 #B32C5E #5EB32C
tetradic
#2C5EB3 #B32CA1 #B3812C #2CB33D
square
#2C5EB3 #B32CA1 #B3812C #2CB33D
split-complementary
#2C5EB3 #B33D2C #A1B32C
monochromatic
#142A51 #204482 #2C5EB3 #4A7CD2 #7BA0DF

Accessibility & contrast

On white

6.25
#2C5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2C5EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EB3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EB3#FFFFFF#000000##FFFFFF
##2C5EB31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#095BB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5eb3;
/* rgb */ color: rgb(44, 94, 179);
/* oklch */ color: oklch(49.5% 0.146 260.3);
Tailwind
colors: {
  custom: {
    50: '#788bca',
    500: '#2c5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eb3;
$custom-light: #788bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eb3",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 217.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.14566,
    "h": 260.3
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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