#2C5EB5#2C5EB5

#2C5EB5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.148 H 260.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2C5EB5
RGBrgb(44, 94, 181)
HSLhsl(218, 61%, 44%)
HSVhsv(218, 76%, 71%)
CMYKcmyk(75.7%, 48.1%, 0%, 29%)
CIE-LABlab(41.02, 14.33, -50.99)
CIE-LCHlch(41.02, 52.97, 285.69°)
OKLaboklab(49.62% -0.0242 -0.1464)
OKLCHoklch(49.62% 0.148 260.6)
XYZxyz(13.3789, 11.8756, 45.2942)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EB5 #B5832C
analogous
#2CA3B5 #2C5EB5 #3E2CB5
triadic
#2C5EB5 #B52C5E #5EB52C
tetradic
#2C5EB5 #B52CA3 #B5832C #2CB53E
square
#2C5EB5 #B52CA3 #B5832C #2CB53E
split-complementary
#2C5EB5 #B53E2C #A3B52C
monochromatic
#142B53 #204484 #2C5EB5 #4B7DD3 #7CA0DF

Accessibility & contrast

On white

6.22
#2C5EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2C5EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EB5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EB5#FFFFFF#000000##FFFFFF
##2C5EB51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B8
Deuteranopia (green-blind)
#015BB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c5eb5;
/* rgb */ color: rgb(44, 94, 181);
/* oklch */ color: oklch(49.6% 0.148 260.6);
Tailwind
colors: {
  custom: {
    50: '#788bcc',
    500: '#2c5eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eb5;
$custom-light: #788bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eb5",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 218.102,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.1484,
    "h": 260.6
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#2C5EB5
secondary
#C8AA75
accent
#AA44E4
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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